mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-05-30 14:54:50 -04:00
Adapt to new bower_components directory.
This commit is contained in:
parent
4738847f30
commit
dfa1687a90
4 changed files with 6 additions and 6 deletions
|
@ -10,5 +10,5 @@
|
|||
#
|
||||
# All rights reserved.
|
||||
|
||||
../node_modules/.bin/uglifyjs ../components/acorn/acorn.js -o ../components/acorn/acorn.min.js -c -m -b ascii_only=true,beautify=false
|
||||
../node_modules/.bin/uglifyjs ../components/esprima/esprima.js -o ../components/esprima/esprima.min.js -c -m -b ascii_only=true,beautify=false
|
||||
../node_modules/.bin/uglifyjs ../bower_components/acorn/acorn.js -o ../bower_components/acorn/acorn.min.js -c -m -b ascii_only=true,beautify=false
|
||||
../node_modules/.bin/uglifyjs ../bower_components/esprima/esprima.js -o ../bower_components/esprima/esprima.min.js -c -m -b ascii_only=true,beautify=false
|
||||
|
|
|
@ -32,9 +32,9 @@ paper.PaperScope.prototype.PaperScript = (function(root) {
|
|||
scope = root;
|
||||
/*#*/ } // options.version == 'dev'
|
||||
/*#*/ if (options.parser == 'acorn') {
|
||||
/*#*/ include('../../components/acorn/acorn.min.js', { exports: false });
|
||||
/*#*/ include('../../bower_components/acorn/acorn.min.js', { exports: false });
|
||||
/*#*/ } else if (options.parser == 'esprima') {
|
||||
/*#*/ include('../../components/esprima/esprima.min.js', { exports: false });
|
||||
/*#*/ include('../../bower_components/esprima/esprima.min.js', { exports: false });
|
||||
/*#*/ }
|
||||
|
||||
// Operators to overload
|
||||
|
|
|
@ -34,10 +34,10 @@
|
|||
// parameter inside the paper scope.
|
||||
var paper = new function(undefined) {
|
||||
// Inline Bootstrap core (the Base class) inside the paper scope first:
|
||||
/*#*/ include('../components/straps/straps.js', { exports: false });
|
||||
/*#*/ include('../bower_components/straps/straps.js', { exports: false });
|
||||
|
||||
/*#*/ if (options.stats) {
|
||||
/*#*/ include('../components/stats.js/build/stats.min.js');
|
||||
/*#*/ include('../bower_components/stats.js/build/stats.min.js');
|
||||
/*#*/ } // options.stats
|
||||
|
||||
/*#*/ if (options.version == 'dev') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue