Lines Matching refs:obj

387 Promise.prototype._setBoundTo = function (obj) {  argument
388 if (obj !== undefined) {
390 this._boundTo = obj;
436 function ensureMethod(obj, methodName) { argument
438 if (obj != null) fn = obj[methodName];
440 var message = "Object " + util.classString(obj) + " has no method '" +
447 function caller(obj) { argument
449 var fn = ensureMethod(obj, methodName);
450 return fn.apply(obj, this);
459 function namedGetter(obj) { argument
460 return obj[this];
462 function indexedGetter(obj) { argument
464 if (index < 0) index = Math.max(0, index + obj.length);
465 return obj[index];
1370 function formatNonError(obj) { argument
1372 if (typeof obj === "function") {
1374 (obj.name || "anonymous") +
1377 str = obj && typeof obj.toString === "function"
1378 ? obj.toString() : util.toString(obj);
1382 var newStr = JSON.stringify(obj);
1880 propertyIsWritable: function(obj, prop) { argument
1881 var descriptor = Object.getOwnPropertyDescriptor(obj, prop);
1909 var ObjectFreeze = function (obj) { argument
1910 return obj;
1913 var ObjectGetPrototypeOf = function (obj) { argument
1915 return Object(obj).constructor.prototype;
1922 var ArrayIsArray = function (obj) { argument
1924 return str.call(obj) === "[object Array]";
2596 function isUntypedError(obj) { argument
2597 return obj instanceof Error &&
2598 es5.getPrototypeOf(obj) === Error.prototype;
2602 function wrapAsOperationalError(obj) { argument
2604 if (isUntypedError(obj)) {
2605 ret = new OperationalError(obj);
2606 ret.name = obj.name;
2607 ret.message = obj.message;
2608 ret.stack = obj.stack;
2609 var keys = es5.keys(obj);
2613 ret[key] = obj[key];
2618 util.markAsOriginatingFromRejection(obj);
2619 return obj;
2893 Promise.cast = function (obj) { argument
2894 var ret = tryConvertToPromise(obj);
2899 ret._rejectionHandler0 = obj;
3708 function hasPromisified(obj, key, suffix) { argument
3709 var val = util.getDataPropertyOrDefault(obj, key + suffix,
3728 function promisifiableMethods(obj, suffix, suffixRegexp, filter) { argument
3729 var keys = util.inheritedDataKeys(obj);
3733 var value = obj[key];
3735 ? true : defaultFilter(key, value, obj);
3738 !hasPromisified(obj, key, suffix) &&
3739 filter(key, value, obj, passesDefaultFilter)) {
3784 function promisifyAll(obj, suffix, filter, promisifier, multiArgs) { argument
3787 promisifiableMethods(obj, suffix, suffixRegexp, filter);
3794 obj[promisifiedKey] =
3802 obj[promisifiedKey] = promisified;
3805 util.toFastProperties(obj);
3806 return obj;
3902 function PropertiesPromiseArray(obj) { argument
3905 if (Es6Map !== undefined && obj instanceof Es6Map) {
3906 entries = mapToEntries(obj);
3909 var keys = es5.keys(obj);
3914 entries[i] = obj[key];
4652 function tryConvertToPromise(obj, context) { argument
4653 if (isObject(obj)) {
4654 if (obj instanceof Promise) return obj;
4655 var then = getThen(obj);
4662 if (isAnyBluebirdPromise(obj)) {
4664 obj._then(
4673 return doThenable(obj, then, context);
4676 return obj;
4679 function doGetThen(obj) { argument
4680 return obj.then;
4683 function getThen(obj) { argument
4685 return doGetThen(obj);
4693 function isAnyBluebirdPromise(obj) { argument
4695 return hasProp.call(obj, "_promise0");
5131 function getDataPropertyOrDefault(obj, key, defaultValue) { argument
5133 var desc = Object.getOwnPropertyDescriptor(obj, key);
5141 return {}.hasOwnProperty.call(obj, key) ? obj[key] : undefined;
5145 function notEnumerableProp(obj, name, value) { argument
5146 if (isPrimitive(obj)) return obj;
5153 es5.defineProperty(obj, name, descriptor);
5154 return obj;
5179 return function(obj) { argument
5182 while (obj != null && !isExcludedProto(obj)) {
5185 keys = getKeys(obj);
5193 var desc = Object.getOwnPropertyDescriptor(obj, key);
5198 obj = es5.getPrototypeOf(obj);
5204 return function(obj) { argument
5205 if (isExcludedProto(obj)) return [];
5209 enumeration: for (var key in obj) {
5210 if (hasProp.call(obj, key)) {
5250 function toFastProperties(obj) { argument
5253 FakeConstructor.prototype = obj;
5260 return obj;
5261 eval(obj);
5277 function safeToString(obj) { argument
5279 return obj + "";
5285 function isError(obj) { argument
5286 return obj instanceof Error ||
5287 (obj !== null &&
5288 typeof obj === "object" &&
5289 typeof obj.message === "string" &&
5290 typeof obj.name === "string");
5306 function canAttachTrace(obj) { argument
5307 return isError(obj) && es5.propertyIsWritable(obj, "stack");
5325 function classString(obj) { argument
5326 return {}.toString.call(obj);
6239 var obj;
6242 obj = (new window.DOMParser()).parseFromString(data, "text/xml");
6244 obj = new window.ActiveXObject("Microsoft.XMLDOM");
6245 obj.async = "false";
6246 obj.loadXML(data);
6248 return obj;
6250 xmltop: function(tagname, xhr, obj) {
6257 if (obj !== -1) gantt.callEvent("onLoadXMLError",["Incorrect XML", arguments[1], obj]);
6964 function DnD(obj, config) { argument
6965 this._obj = obj;
6979 gantt.event(obj, input.down, utils.bind(function (e) {
6990 this.dragStart(obj, e, input);
6994 this.dragStart(obj, e, input);
7154 dragStart: function (obj, e, inputMethod) { argument
7159 obj: obj, property in DnD.dragStart.config
7169 this.traceDragEvents(obj, inputMethod);
7175 this.dragMove(obj, e, inputMethod.accessor);
7179 dragMove: function (obj, e, getEvent) { argument
7191 if (this.callEvent("onBeforeDragStart", [obj, this.config.original_target]) === false) {
7198 this.callEvent("onAfterDragStart", [obj, this.config.original_target]);
7208 this.callEvent("onDragMove", [obj, source]);
7214 dragEnd: function (obj) { argument
8788 _this.obj.setUserData(0, "version", _this._getXmlNodeValue(vers[0]));
9617 var obj = this.getItem(id); //save for later event
9619 if (this.callEvent("onBeforeDelete", [obj.id, obj]) === false) return false;
9626 this.callEvent("onAfterDelete", [obj.id, obj]);
9628 this.callEvent("onStoreUpdated", [obj.id, obj, "delete"]);
9739 var obj = this.getItem(id);
9745 this.callEvent("onStoreUpdated", [obj.id, obj, "move"]);
14358 var obj = this.copy(option);
14359 obj.key = obj.value;// resulting option object
14365 obj[option_key] = option[option_key]; // obj['value'] = option['value']
14368 arr.push(obj);
14420 _copyLink: function (obj) { argument
14422 for (var key in obj)
14423 copy[key] = obj[key];
14426 _copyObject: function (obj) { argument
14428 for (var key in obj) {
14431 copy[key] = obj[key];
14443 gantt.eachTask(function (obj) { argument
14444 gantt.resetProjectDates(obj);
14445 tasks.push(this.serializeTask(obj));
14510 var obj = {key: itms[j].getAttribute("value"), label: itms[j].getAttribute("label")}; class in gantt.xml._getCollections
14515 obj[attr.nodeName] = attr.nodeValue;
14517 arr.push(obj);
14552 _copyLink: function (obj) { argument
14553 …return "<item id='" + obj.id + "' source='" + obj.source + "' target='" + obj.target + "' type='" …
14555 _copyObject: function (obj) { argument
14556obj.id + "' parent='" + (obj.parent || "") + "' start_date='" + obj.start_date + "' duration='" +
14950 var obj = messageBox.pull[id];
14951 if (obj && obj.parentNode) {
14953 obj.parentNode.removeChild(obj);
14954 obj = null;
14956 obj.className += " hidden";
15485 var obj = document.createElement("DIV");
15489 obj.id = "gantt_"+ gantt.uid();
15490 obj.style.width = "100%";
15491 obj.style.height = "100%";
15492 obj.cmp = "grid";
15494 document.body.appendChild(obj);
15495 this.attachObject(obj.id);
15502 gantt.init(obj.id, start, end);
15503 obj.firstChild.style.border = "none";
15505 that.gridId = obj.id;
15506 that.gridObj = obj;
15518 var obj = document.createElement("DIV");
15519 obj.id = "gantt_"+gantt.uid();
15520 obj.style.width = "100%";
15521 obj.style.height = "100%";
15522 obj.cmp = "grid";
15524 document.body.appendChild(obj);
15525 this.attachObject(obj.id);
15530 gantt.init(obj.id, start, end);
15531 obj.firstChild.style.border = "none";
15533 obj = null;
17230 module.exports = function(obj, parent){
17231 utils.mixin(obj, configurable(parent));
19566 dnd.attachEvent("onBeforeDragStart", gantt.bind(function (obj, e) { argument
19591 dnd.attachEvent("onAfterDragStart", gantt.bind(function (obj, e) { argument
19662 dnd.attachEvent("onDragMove", gantt.bind(function (obj, e) { argument
19816 dnd.attachEvent("onBeforeDragStart", gantt.bind(function (obj, e) { argument
19838 dnd.attachEvent("onAfterDragStart", gantt.bind(function (obj, e) { argument
19910 dnd.attachEvent("onDragMove", gantt.bind(function (obj, e) { argument
20543 var obj = this.$config;
20545 if (obj.raw) {
20546 content = typeof obj.raw === "string" ? obj.raw : "";
20550 …content = "<div class='gantt_layout_content' "+(css ? " class='"+css+"' " : "")+" >" + (obj.html |…
20552 if (obj.header) {
20553 var collapseIcon = obj.canCollapse ? "<div class='gantt_layout_header_arrow'></div>" : "";
20554 …t_header'>" + collapseIcon + "<div class='gantt_layout_header_content'>" + obj.header + "</div></d…
22893 return function(obj){ argument
22898 res = res && (filter_method(obj.id, obj) !== false);
24627 dnd.attachEvent("onBeforeDragStart", gantt.bind(function(obj,e) { argument
24656 dnd.attachEvent("onAfterDragStart", gantt.bind(function(obj,e) { argument
24758 dnd.attachEvent("onDragMove", gantt.bind(function(obj,e) { argument
25652 obj: null, property in AnonymousFunctioncdb5859f0100.AnonymousFunctioncdb5859f22d00.createTaskDND.drag
25903 drag.obj = task;
25984 if (!this._fireEvent("before_finish", drag.mode, [taskId, drag.mode, gantt.copy(drag.obj), e])) {
25988 drag.obj._dhx_changed = false;
25989 gantt.mixin(task, drag.obj, true);
26090 obj: gantt.copy(selectedTask)
26136 obj: gantt.copy(child)
29335 var obj = ch[i];
29336 if (obj.className && obj.className.indexOf(css) !== -1) {
29337 out.push(obj);
29514 var createEventStorage = function(obj) { argument
29520 var zr = dhx_catch[i].apply(obj, arguments);
29537 function makeEventable(obj){ argument
29540 obj.attachEvent=function(name, catcher, callObj){
29547 obj.attachAll = function(callback, callObj){
29551 obj.callEvent=function(name, arg0, callObj){
29564 obj.checkEvent=function(name){
29567 obj.detachEvent=function(id){
29578 obj.detachAllEvents = function(){
29666 function isArray(obj){ argument
29668 return Array.isArray(obj);
29671 return (obj && obj.length !== undefined && obj.pop && obj.push);
29676 function isStringObject(obj){ argument
29677 return obj && typeof obj === "object"
29678 && Function.prototype.toString.call(obj.constructor) === "function String() { [native code] }";
29682 function isNumberObject(obj){ argument
29683 return obj && typeof obj === "object"
29684 && Function.prototype.toString.call(obj.constructor) === "function Number() { [native code] }";
29688 function isBooleanObject(obj){ argument
29689 return obj && typeof obj === "object"
29690 && Function.prototype.toString.call(obj.constructor) === "function Boolean() { [native code] }";
29693 function isDate(obj) { argument
29694 if (obj && typeof obj === "object") {
29695 return !!(obj.getFullYear && obj.getMonth && obj.getDate);
29701 function isValidDate(obj){ argument
29702 return isDate(obj) && !isNaN(obj.getTime());
29801 function objectKeys(obj) { argument
29803 return Object.keys(obj);
29807 for (key in obj) {
29808 if (Object.prototype.hasOwnProperty.call(obj, key)) {
29826 function isEventable(obj) { argument
29827 return obj.attachEvent && obj.detachEvent;
30071 function defined(obj) { argument
30072 return typeof(obj) != "undefined";