mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix references to Bootstrap.js in comments.
This commit is contained in:
parent
6ed264a775
commit
1ee5b2c126
3 changed files with 3 additions and 3 deletions
|
@ -616,7 +616,7 @@ var Raster = Item.extend(/** @lends Raster# */{
|
|||
var that = this;
|
||||
return new HitResult('pixel', that, {
|
||||
offset: point.add(that._size.divide(2)).round(),
|
||||
// Inject as Bootstrap accessor, so #toString renders well too
|
||||
// Inject as Straps.js accessor, so #toString renders well too
|
||||
color: {
|
||||
get: function() {
|
||||
return that.getPixel(this.offset);
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
// Allow the minification of the undefined variable by defining it as a local
|
||||
// parameter inside the paper scope.
|
||||
var paper = new function(undefined) {
|
||||
// Inline Bootstrap core (the Base class) inside the paper scope first:
|
||||
// Inline Straps.js core (the Base class) inside the paper scope first:
|
||||
/*#*/ include('../bower_components/straps/straps.js', { exports: false });
|
||||
|
||||
/*#*/ if (__options.stats) {
|
||||
|
|
|
@ -268,7 +268,7 @@ var Curve = Base.extend(/** @lends Curve# */{
|
|||
* @type Number
|
||||
* @bean
|
||||
*/
|
||||
// Hide parameters from Bootstrap so it injects bean too
|
||||
// Hide parameters from Straps.js so it injects bean too
|
||||
getLength: function(/* from, to */) {
|
||||
var from = arguments[0],
|
||||
to = arguments[1],
|
||||
|
|
Loading…
Reference in a new issue