mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -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;
|
var that = this;
|
||||||
return new HitResult('pixel', that, {
|
return new HitResult('pixel', that, {
|
||||||
offset: point.add(that._size.divide(2)).round(),
|
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: {
|
color: {
|
||||||
get: function() {
|
get: function() {
|
||||||
return that.getPixel(this.offset);
|
return that.getPixel(this.offset);
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
// Allow the minification of the undefined variable by defining it as a local
|
// Allow the minification of the undefined variable by defining it as a local
|
||||||
// parameter inside the paper scope.
|
// parameter inside the paper scope.
|
||||||
var paper = new function(undefined) {
|
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 });
|
/*#*/ include('../bower_components/straps/straps.js', { exports: false });
|
||||||
|
|
||||||
/*#*/ if (__options.stats) {
|
/*#*/ if (__options.stats) {
|
||||||
|
|
|
@ -268,7 +268,7 @@ var Curve = Base.extend(/** @lends Curve# */{
|
||||||
* @type Number
|
* @type Number
|
||||||
* @bean
|
* @bean
|
||||||
*/
|
*/
|
||||||
// Hide parameters from Bootstrap so it injects bean too
|
// Hide parameters from Straps.js so it injects bean too
|
||||||
getLength: function(/* from, to */) {
|
getLength: function(/* from, to */) {
|
||||||
var from = arguments[0],
|
var from = arguments[0],
|
||||||
to = arguments[1],
|
to = arguments[1],
|
||||||
|
|
Loading…
Reference in a new issue