chore(build): fix check-format

This commit is contained in:
Alex Eagle 2015-04-11 12:40:05 -07:00
parent e18920884e
commit 7b790a3369
5 changed files with 22 additions and 18 deletions

View File

@ -23,7 +23,8 @@ var es6DevTree = new TraceurCompiler(modulesTree, '.es6', '.map', {
});
// Call Traceur again to lower the ES6 build tree to ES5
var es5DevTree = new TraceurCompiler(es6DevTree, '.js', '.js.map', {modules: 'instantiate', sourceMaps: true});
var es5DevTree =
new TraceurCompiler(es6DevTree, '.js', '.js.map', {modules: 'instantiate', sourceMaps: true});
// Now we add a few more files to the es6 tree that Traceur should not see
['angular2', 'benchmarks', 'benchmarks_external', 'benchpress', 'examples', 'rtts_assert'].forEach(

View File

@ -23,7 +23,8 @@ var es6ProdTree = new TraceurCompiler(modulesTree, '.es6', '.map', {
});
// Call Traceur again to lower the ES6 build tree to ES5
var es5ProdTree = new TraceurCompiler(es6ProdTree, '.js', '.js.map', {modules: 'instantiate', sourceMaps: true});
var es5ProdTree =
new TraceurCompiler(es6ProdTree, '.js', '.js.map', {modules: 'instantiate', sourceMaps: true});
// Now we add a few more files to the es6 tree that Traceur should not see
['angular2', 'benchmarks', 'benchmarks_external', 'benchpress', 'examples', 'rtts_assert'].forEach(
@ -100,4 +101,5 @@ htmlTree = mergeTrees([htmlTree, scripts, polymer, css]);
es5ProdTree = mergeTrees([es5ProdTree, htmlTree]);
module.exports = mergeTrees([stew.mv(es6ProdTree, 'js/prod/es6'), stew.mv(es5ProdTree, 'js/prod/es5')]);
module.exports =
mergeTrees([stew.mv(es6ProdTree, 'js/prod/es6'), stew.mv(es5ProdTree, 'js/prod/es5')]);

View File

@ -6,7 +6,8 @@ declare var assert: any;
declare var global: Window;
type int = number;
interface List<T> extends Array<T> {}
interface List<T> extends Array<T> {
}
interface Window {
Object: typeof Object;