Skip to content

Commit c17b2f0

Browse files
committed
Restore promise shim / fix JSCS Gruntfile error
1 parent 83c9ea4 commit c17b2f0

File tree

2 files changed

+3
-68
lines changed

2 files changed

+3
-68
lines changed

Gruntfile.js

Lines changed: 1 addition & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -73,72 +73,7 @@ module.exports = function (grunt) {
7373
platform: 'Linux'
7474
}
7575
];
76-
var browsers = [
77-
// Desktop browsers
78-
{
79-
browserName: "chrome",
80-
version: 'latest',
81-
platform: 'Windows 7'
82-
},
83-
{
84-
browserName: "firefox",
85-
version: 'latest',
86-
platform: 'Linux'
87-
},
88-
{
89-
browserName: 'safari',
90-
version: '9',
91-
platform: 'OS X 10.11'
92-
},
93-
{
94-
browserName: 'safari',
95-
version: '8',
96-
platform: 'OS X 10.10'
97-
},
98-
{
99-
browserName: "internet explorer",
100-
version: '8',
101-
platform: 'Windows XP'
102-
},
103-
{
104-
browserName: "internet explorer",
105-
version: '9',
106-
platform: 'Windows 7'
107-
},
108-
{
109-
browserName: "internet explorer",
110-
version: '11',
111-
platform: 'Windows 8.1'
112-
},
113-
{
114-
browserName: "edge",
115-
version: '13',
116-
platform: 'Windows 10'
117-
},
118-
// Mobile browsers
119-
{
120-
browserName: "ipad",
121-
version: '8.0',
122-
platform: 'OS X 10.9',
123-
'device-orientation': 'portrait'
124-
},
125-
{
126-
browserName: 'iphone',
127-
version: '7.1',
128-
platform: 'OS X 10.9'
129-
},
130-
{
131-
browserName: 'iphone',
132-
version: '9.3',
133-
platform: 'OS X 10.10'
134-
},
135-
{
136-
browerName: 'android',
137-
version: '4.2',
138-
platform: 'Linux'
139-
}
140-
];
141-
76+
14277
// var sauceJobs = {};
14378

14479
// [ "main",

lib/less-browser/bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
*/
66
/*global window, document */
77

8-
9-
// Polyfill needed for IE8 - add this to sites targeting IE8
8+
// TODO - consider switching this out for a recommendation for this polyfill:
109
// <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
10+
require("promise/polyfill");
1111

1212
var options = window.less || {};
1313
require("./add-default-options")(window, options);

0 commit comments

Comments
 (0)