module.exports = function(grunt) {
    var browsers = [{
        browserName: "firefox",
        version: "40.0",
        platform: "Windows 8"
    }, {
        browserName: "chrome",
        platform: "Windows 8",
        version: "45.0"
    }, {
        browserName: "internet explorer",
        platform: "Windows 8",
        version: "10.0"
    }, {
        browserName: "internet explorer",
        platform: "Windows 7",
        version: "11"
    }, {
        browserName: "safari",
        platform: "OS X 10.11",
        version: "8.1"
    }, {
        browserName: "safari",
        platform: "OS X 10.9",
        version: "7.0"
    }];
  grunt.initConfig({
    connect: {
      server: {
        options: {
          base: "",
          port: 9999
        }
      }
    },
    'saucelabs-jasmine': {
      all: {
        options: {
          urls: ["http://127.0.0.1:9999/test/SpecRunner.html"],
          tunnelTimeout: 5,
          statusCheckAttempts: 10,
          build: process.env.TRAVIS_JOB_ID,
          concurrency: 3,
          browsers: browsers,
          testname: "url tests",
          sauceConfig: { 'record-video': false },
          tags: ["master"]
        }
      }
    },
    watch: {}
  });

  // Loading dependencies
  for (var key in grunt.file.readJSON("package.json").devDependencies) {
    if (key !== "grunt" && key.indexOf("grunt") === 0) grunt.loadNpmTasks(key);
  }

  //grunt.loadNpmTasks('grunt-contrib-connect');
  //grunt.loadNpmTasks('grunt-saucelabs');
  grunt.registerTask("dev", ["connect", "watch"]);
  grunt.registerTask("test", ["connect", "saucelabs-jasmine"]);
};

@@ -94,53 +94,51 @@
     
-version: %2240.0%22,%0A        platform: %22Windows 8
+platform: %22Windows 8%22,%0A        version: %2240
 %22%0A  
@@ -226,18 +226,16 @@
 ion: %2245
-.0
 %22%0A    %7D,
@@ -330,18 +330,16 @@
 ion: %2210
-.0
 %22%0A    %7D,
@@ -625,16 +625,111 @@
 : %227.0%22%0A
+    %7D, %7B%0A        browserName: %22firefox%22,%0A        platform: %22OS X 10.10%22,%0A        version: %2240%22%0A
     %7D%5D;%0A
@@ -1122,9 +1122,33 @@
 cy: 
-3
+4,%0A          throttled: 4
 ,%0A  

add firefox mac