| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 1 1 15 15 15 15 15 1 | (function(sc) {
"use strict";
require("./libs");
var extend = function(child, parent) {
var ctor = function() {
this.constructor = child;
};
ctor.prototype = parent.prototype;
/* jshint newcap: false */
child.prototype = new ctor();
/* jshint newcap: true */
return child;
};
sc.libs.extend = extend;
})(sc);
|