blob: 1ec7ecc18dce646ec092324bda1001bc4269f646 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//SVG.Object = function Object() {};
//
//Object.prototype.include = function(module) {
//
// for (var key in module)
// this.prototype[key] = module[key];
//
// if (module.included != null)
// module.included.apply(this);
//
// return this;
//};
//SVG.Object = function Object() {};
//
//SVG.Object.moduleKeywords = ['included', 'extended'];
//
//SVG.Object.include = function(module) {
// var key, value, _ref;
// for (key in module) {
// value = module[key];
// if (Array.prototype.indexOf.call(this.moduleKeywords, key) < 0) {
// this.prototype[key] = value;
// }
// }
// if ((_ref = module.included) != null) {
// _ref.apply(this);
// }
// return this;
//};
|