* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+var _global = window || global || {};
var CalendarType = {
EVENT: 'EVENT',
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+var _global = window || global || {};
var AttendeeType = {
INDIVIDUAL: 'INDIVIDUAL',
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
* limitations under the License.
*/
+var _global = window || global || {};
+
var CalendarTextFormat = {
ICALENDAR_20: 'ICALENDAR_20',
VCALENDAR_10: 'VCALENDAR_10'
},
set: function(v) {
if (_edit.canEdit) {
- if (v instanceof Object) {
+ if (v instanceof _global.Object) {
_id = new CalendarEventId(v.uid, v.rid);
} else {
_id = converter_.toString(v, true);
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
* limitations under the License.
*/
+var _global = window || global || {};
+
var RecurrenceRuleFrequency = {
DAILY: 'DAILY',
WEEKLY: 'WEEKLY',
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
* limitations under the License.
*/
+var _global = window || global || {};
+
var utils_ = xwalk.utils;
var dateConverter_ = utils_.dateConverter;
var type_ = utils_.type;
} else if (item[prop] instanceof Array) {
tmp[prop] = [];
for (var i = 0, length = item[prop].length; i < length; i++) {
- if (item[prop][i] instanceof Object) {
+ if (item[prop][i] instanceof _global.Object) {
tmp[prop][i] = {};
for (var p in item[prop][i]) {
if (item[prop][i][p] instanceof tizen.TZDate) {
tmp[prop] = item[prop];
}
}
- } else if (item[prop] instanceof Object) {
+ } else if (item[prop] instanceof _global.Object) {
tmp[prop] = {};
for (var p in item[prop]) {
if (item[prop][p] instanceof tizen.TZDate) {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+var _global = window || global || {};
var utils_ = xwalk.utils;
var type_ = utils_.type;
}
return ret;
}
- if (obj instanceof Object) {
+ if (obj instanceof _global.Object) {
ret = {};
for (var prop in obj) {
if (obj.hasOwnProperty(prop)) {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+var _global = window || global || {};
var validator_ = xwalk.utils.validator;
var type_ = xwalk.utils.type;
});
//--- copy values from exifInitDict using setters above.
- if (exifInitDict instanceof Object) {
+ if (exifInitDict instanceof _global.Object) {
for (var prop in exifInitDict) {
if (this.hasOwnProperty(prop)) {
this[prop] = exifInitDict[prop];
* limitations under the License.
*/
+var _global = window || global || {};
+
var utils_ = xwalk.utils;
var type_ = utils_.type;
var converter_ = utils_.converter;
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (data.hasOwnProperty(prop) && this.hasOwnProperty(prop)) {
this[prop] = data[prop];
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (data.hasOwnProperty(prop) && this.hasOwnProperty(prop)) {
this[prop] = data[prop];
* limitations under the License.
*/
+var _global = window || global || {};
+
var utils_ = xwalk.utils;
var type_ = utils_.type;
var converter_ = utils_.converter;
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (this.hasOwnProperty(prop)) {
this[prop] = data[prop];
}
});
- if (data instanceof Object) {
+ if (data instanceof _global.Object) {
for (var prop in data) {
if (data.hasOwnProperty(prop) && this.hasOwnProperty(prop)) {
this[prop] = data[prop];
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+var _global = window || global || {};
+
/**
* @deprecated Used only by validateArguments()
*/
isAllDay = false;
}
- if (!(v instanceof Object)) {
+ if (!(v instanceof _global.Object)) {
return v;
}
// See http://168.219.209.56/gerrit/#/c/23472/ for more details.
// In future exception definition could be moved back to Tizen module.
function __isObject(object) {
- return object instanceof Object;
+ return object instanceof _global.Object;
}
function __isUndefined(object) {