mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 17:02:24 -05:00
Minor cleanup.
This commit is contained in:
parent
8f0a2f37a0
commit
6a0222ff21
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,6 @@ gulp.task('build',
|
|||
})
|
||||
);
|
||||
|
||||
// Get the date of the last commit from git.
|
||||
buildNames.forEach(function(name) {
|
||||
gulp.task('build:' + name, ['build:start'], function() {
|
||||
return gulp.src('src/paper.js')
|
||||
|
|
|
@ -14,12 +14,13 @@
|
|||
// the browser, avoiding the step of having to manually preprocess it after each
|
||||
// change. This is very useful during development of the library itself.
|
||||
if (typeof window === 'object') {
|
||||
// Browser based loading through Prepro.js:
|
||||
|
||||
/* jshint -W082 */
|
||||
function load(src) {
|
||||
document.write('<script src="' + src + '"></script>');
|
||||
}
|
||||
|
||||
// Browser based loading through Prepro.js:
|
||||
if (!window.include) {
|
||||
// Get the last script tag and assume it's the one that loaded this file
|
||||
// then get its src attribute and figure out the location of our root.
|
||||
|
|
Loading…
Reference in a new issue