chrisgladd / grunt-phantomcss

A grunt task for CSS regression testing using PhantomCSS
MIT License
66 stars 57 forks source link

Add multiple viewPortSizes #13

Open ludder opened 10 years ago

ludder commented 10 years ago

It would be handy to be able to set multiple viewPortSizes without duplicating the other settings.

Something like:

options: {
        screenshots: 'test/visual',
        results: 'results/visual',
        viewportSize: ["1024, 768", "800, 600", "320, 480"]
      },
      src: [
        'test/visual/**.js'
      ]