forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): Migrate remaining tasks under build.js.dev to broccoli.
- Loading branch information
Showing
11 changed files
with
161 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script src="traceur-runtime.js" type="text/javascript"></script> | ||
<script src="es6-module-loader-sans-promises.src.js" type="text/javascript"></script> | ||
<script src="zone.js" type="text/javascript"></script> | ||
<script src="long-stack-trace-zone.js" type="text/javascript"></script> | ||
<script src="system.src.js" type="text/javascript"></script> | ||
<script src="extension-register.js" type="text/javascript"></script> | ||
<script src="extension-cjs.js" type="text/javascript"></script> | ||
<script src="rx.all.js" type="text/javascript"></script> | ||
<script src="runtime_paths.js" type="text/javascript"></script> | ||
<script type="text/javascript">System.import('@@FILENAME_NO_EXT').then(function(m) { m.main(); }, console.error.bind(console))</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script src="url_params_to_form.js" type="text/javascript"></script> | ||
<script src="traceur-runtime.js" type="text/javascript"></script> | ||
<script src="es6-module-loader-sans-promises.src.js" type="text/javascript"></script> | ||
<script src="zone.js" type="text/javascript"></script> | ||
<script src="long-stack-trace-zone.js" type="text/javascript"></script> | ||
<script src="system.src.js" type="text/javascript"></script> | ||
<script src="extension-register.js" type="text/javascript"></script> | ||
<script src="extension-cjs.js" type="text/javascript"></script> | ||
<script src="rx.all.js" type="text/javascript"></script> | ||
<script src="runtime_paths.js" type="text/javascript"></script> | ||
<script type="text/javascript">System.import('@@FILENAME_NO_EXT').then(function(m) { m.main(); }, console.error.bind(console))</script> |
12 changes: 12 additions & 0 deletions
12
tools/broccoli/html-replace/SCRIPTS_benchmarks_external.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script src="angular.js" type="text/javascript"></script> | ||
<script src="url_params_to_form.js" type="text/javascript"></script> | ||
<script src="traceur-runtime.js" type="text/javascript"></script> | ||
<script src="es6-module-loader-sans-promises.src.js" type="text/javascript"></script> | ||
<script src="zone.js" type="text/javascript"></script> | ||
<script src="long-stack-trace-zone.js" type="text/javascript"></script> | ||
<script src="system.src.js" type="text/javascript"></script> | ||
<script src="extension-register.js" type="text/javascript"></script> | ||
<script src="extension-cjs.js" type="text/javascript"></script> | ||
<script src="rx.all.js" type="text/javascript"></script> | ||
<script src="runtime_paths.js" type="text/javascript"></script> | ||
<script type="text/javascript">System.import('@@FILENAME_NO_EXT').then(function(m) { m.main(); }, console.error.bind(console))</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
|
||
module.exports = read; | ||
function read(file) { | ||
var content = fs.readFileSync(path.join(__dirname, file + '.html'), {encoding: 'utf-8'}); | ||
// TODO(broccoli): we don't really need this, it's here to make the output match the tools/build/html | ||
return content.substring(0, content.lastIndexOf("\n")); | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters