Update comments in bootstrap.js.

This commit is contained in:
Jürg Lehni 2011-05-19 18:33:34 +01:00
parent e49b02b8c1
commit 6854f7d026

3
lib/bootstrap.js vendored
View file

@ -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,