Lines Matching refs:prototype

672       if (properties && Object.prototype.toString.call(properties) === '[object Array]') {
758 var proto = klass.prototype;
876 _join = Array.prototype.join;
1139 var slice = Array.prototype.slice;
1143 if (!Array.prototype.indexOf) {
1150 Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) {
1181 if (!Array.prototype.forEach) {
1188 Array.prototype.forEach = function(fn, context) {
1197 if (!Array.prototype.map) {
1204 Array.prototype.map = function(fn, context) {
1215 if (!Array.prototype.every) {
1222 Array.prototype.every = function(fn, context) {
1232 if (!Array.prototype.some) {
1239 Array.prototype.some = function(fn, context) {
1249 if (!Array.prototype.filter) {
1256 Array.prototype.filter = function(fn, context) {
1270 if (!Array.prototype.reduce) {
1277 Array.prototype.reduce = function(fn /*, initial*/) {
1428 if (!String.prototype.trim) {
1434 String.prototype.trim = function () {
1496 var slice = Array.prototype.slice,
1497 apply = Function.prototype.apply,
1500 if (!Function.prototype.bind) {
1508 Function.prototype.bind = function(thisArg) {
1521 Dummy.prototype = this.prototype;
1522 bound.prototype = new Dummy();
1534 var slice = Array.prototype.slice, emptyFunction = function() { },
1549 if (property in klass.prototype &&
1550 typeof klass.prototype[property] === 'function' &&
1553 klass.prototype[property] = (function(property) {
1568 klass.prototype[property] = source[property];
1572 if (source.toString !== Object.prototype.toString) {
1573 klass.prototype.toString = source.toString;
1575 if (source.valueOf !== Object.prototype.valueOf) {
1576 klass.prototype.valueOf = source.valueOf;
1585 var fn = this.constructor.superclass.prototype[methodName];
1613 Subclass.prototype = parent.prototype;
1614 klass.prototype = new Subclass();
1620 if (!klass.prototype.initialize) {
1621 klass.prototype.initialize = emptyFunction;
1623 klass.prototype.constructor = klass;
1624 klass.prototype.callSuper = callSuper;
1639 var methodNames = Array.prototype.slice.call(arguments, 1),
1934 var _slice = Array.prototype.slice;
2867 var isArray = Object.prototype.toString.call(value) === '[object Array]',
3838 fabric.ElementsParser.prototype.parse = function() {
3845 fabric.ElementsParser.prototype.createObjects = function() {
3856 fabric.ElementsParser.prototype.createObject = function(el, index) {
3871 fabric.ElementsParser.prototype._createObject = function(klass, el, index) {
3885 fabric.ElementsParser.prototype.createCallback = function(index, el) {
3896 fabric.ElementsParser.prototype.resolveGradient = function(obj, property) {
3909 fabric.ElementsParser.prototype.checkIfDone = function() {
3948 Point.prototype = /** @lends fabric.Point.prototype */ {
4235 fabric.Intersection.prototype = /** @lends fabric.Intersection.prototype */ {
4404 fabric.Color.prototype = /** @lends fabric.Color.prototype */ {
5613 var obj = { }, proto = fabric.Shadow.prototype;
7159 extend(fabric.StaticCanvas.prototype, fabric.Observable);
7160 extend(fabric.StaticCanvas.prototype, fabric.Collection);
7161 extend(fabric.StaticCanvas.prototype, fabric.DataURLExporter);
7233 fabric.StaticCanvas.prototype.toJSON = fabric.StaticCanvas.prototype.toObject;
9102 fabric.Canvas.prototype._setCursorFromEvent = function() { };
9130 fabric.util.object.extend(fabric.Canvas.prototype, /** @lends fabric.Canvas.prototype */ {
9855 fabric.util.object.extend(fabric.Canvas.prototype, /** @lends fabric.Canvas.prototype */ {
10050 fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.StaticCanvas.prototype *…
10277 fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.StaticCanvas.prototype *…
11314 var prototype = fabric.util.getKlass(object.type).prototype,
11315 stateProperties = prototype.stateProperties;
11318 if (object[prop] === prototype[prop]) {
11991 fabric.Object.prototype.rotate = fabric.Object.prototype.setAngle;
11993 extend(fabric.Object.prototype, fabric.Observable);
12020 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
12270 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
12644 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
12653 fabric.StaticCanvas.prototype.sendToBack.call(this.group, this);
12668 fabric.StaticCanvas.prototype.bringToFront.call(this.group, this);
12684 fabric.StaticCanvas.prototype.sendBackwards.call(this.group, this, intersecting);
12700 fabric.StaticCanvas.prototype.bringForward.call(this.group, this, intersecting);
12716 fabric.StaticCanvas.prototype.moveTo.call(this.group, this, index);
12727 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
12846 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
12897 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
13246 fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.StaticCanvas.prototype *…
13364 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
14407 var stateProperties = fabric.Object.prototype.stateProperties.concat();
14706 return fabric.Polygon.prototype.initialize.call(this, points, options);
14713 return fabric.Polygon.prototype._calcDimensions.call(this);
14720 return fabric.Polygon.prototype._applyPointOffset.call(this);
14729 return fabric.Polygon.prototype.toObject.call(this, propertiesToInclude);
14739 return fabric.Polygon.prototype.toSVG.call(this, reviver);
14748 if (!fabric.Polygon.prototype.commonRender.call(this, ctx)) {
15012 fabric.Polyline.prototype._renderDashedStroke.call(this, ctx);
15078 _toString = Object.prototype.toString,
16044 parentToObject = fabric.Object.prototype.toObject;
17404 fabric.Image.prototype.getSvgSrc = fabric.Image.prototype.getSrc;
17414 fabric.Image.prototype._initFilters.call(object, object, function(filters) {
17500 fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ {
17561 fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.StaticCanvas.prototype *…
19339 var stateProperties = fabric.Object.prototype.stateProperties.concat();
21505 fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.prototype */ {
21571 fabric.IText.prototype.exitEditingOnOthers(_this.canvas);
21583 fabric.IText.prototype.exitEditingOnOthers(_this.canvas);
22249 fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.prototype */ {
22505 fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.prototype */ {
23144 fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.prototype */ {
23424 fabric.StaticCanvas.prototype.createPNGStream = function() {
23428 fabric.StaticCanvas.prototype.createJPEGStream = function(opts) {
23432 var origSetWidth = fabric.StaticCanvas.prototype.setWidth;
23433 fabric.StaticCanvas.prototype.setWidth = function(width, options) {
23439 fabric.Canvas.prototype.setWidth = fabric.StaticCanvas.prototype.setWidth;
23442 var origSetHeight = fabric.StaticCanvas.prototype.setHeight;
23443 fabric.StaticCanvas.prototype.setHeight = function(height, options) {
23449 fabric.Canvas.prototype.setHeight = fabric.StaticCanvas.prototype.setHeight;