(proto, properties)
| 628 | return newArray; |
| 629 | } |
| 630 | function createObject(proto, properties) { |
| 631 | var obj; |
| 632 | if (Object.create) { |
| 633 | obj = Object.create(proto); |
| 634 | } |
| 635 | else { |
| 636 | var StyleCtor = function () { }; |
| 637 | StyleCtor.prototype = proto; |
| 638 | obj = new StyleCtor(); |
| 639 | } |
| 640 | if (properties) { |
| 641 | extend(obj, properties); |
| 642 | } |
| 643 | return obj; |
| 644 | } |
| 645 | function hasOwn(own, prop) { |
| 646 | return own.hasOwnProperty(prop); |
| 647 | } |
no test coverage detected
searching dependent graphs…