Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function () {
- 'use strict';
- window.qd = window.qd ? window.qd : function () {
- if (!window.qd.q) {
- window.qd.q = [];
- Object.defineProperty(window.qd.q, 'push', {
- configurable: false,
- enumerable: false, // hide from for...in
- writable: false,
- value: function () {
- for (var i = 0, n = this.length, l = arguments.length; i < l; i++, n++) {
- this[n] = arguments[i];
- /*<DEBUG>*/
- Quantdeck.log(this);
- Quantdeck.log(this[n]);
- /*</DEBUG>*/
- }
- return n;
- }
- });
- }
- window.qd.q.push(arguments);
- };
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement