mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Update comments in bootstrap.js.
This commit is contained in:
parent
e49b02b8c1
commit
6854f7d026
1 changed files with 2 additions and 1 deletions
3
lib/bootstrap.js
vendored
3
lib/bootstrap.js
vendored
|
@ -9,7 +9,6 @@
|
|||
* http://dean.edwards.name/weblog/2006/03/base/
|
||||
* http://dev.helma.org/Wiki/JavaScript+Inheritance+Sugar/
|
||||
* http://prototypejs.org/
|
||||
* http://mootools.net/
|
||||
*/
|
||||
|
||||
var Base = this.Base = new function() {
|
||||
|
@ -191,6 +190,8 @@ var Base = this.Base = new function() {
|
|||
if (src) {
|
||||
var proto = this.prototype,
|
||||
base = proto.__proto__ && proto.__proto__.constructor,
|
||||
// Allow the whole scope to just define statics by defining
|
||||
// statics: true.
|
||||
statics = src.statics == true ? src : src.statics;
|
||||
if (statics != src)
|
||||
inject(proto, src, src.enumerable, base && base.prototype,
|
||||
|
|
Loading…
Reference in a new issue