chore(build): fix check-format
This commit is contained in:
parent
e18920884e
commit
7b790a3369
@ -23,7 +23,8 @@ var es6DevTree = new TraceurCompiler(modulesTree, '.es6', '.map', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Call Traceur again to lower the ES6 build tree to ES5
|
// 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
|
// 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(
|
['angular2', 'benchmarks', 'benchmarks_external', 'benchpress', 'examples', 'rtts_assert'].forEach(
|
||||||
|
@ -23,7 +23,8 @@ var es6ProdTree = new TraceurCompiler(modulesTree, '.es6', '.map', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Call Traceur again to lower the ES6 build tree to ES5
|
// 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
|
// 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(
|
['angular2', 'benchmarks', 'benchmarks_external', 'benchpress', 'examples', 'rtts_assert'].forEach(
|
||||||
@ -100,4 +101,5 @@ htmlTree = mergeTrees([htmlTree, scripts, polymer, css]);
|
|||||||
|
|
||||||
es5ProdTree = mergeTrees([es5ProdTree, htmlTree]);
|
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')]);
|
||||||
|
@ -6,7 +6,8 @@ declare var assert: any;
|
|||||||
declare var global: Window;
|
declare var global: Window;
|
||||||
type int = number;
|
type int = number;
|
||||||
|
|
||||||
interface List<T> extends Array<T> {}
|
interface List<T> extends Array<T> {
|
||||||
|
}
|
||||||
|
|
||||||
interface Window {
|
interface Window {
|
||||||
Object: typeof Object;
|
Object: typeof Object;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user