rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
return _item(_model.playlist.length - 1); } else { return _item(_model.item - 1);
_item(_model.playlist.length - 1); } else { _item(_model.item - 1);
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
_stop();
if (oldstate !== jwplayer.api.events.state.IDLE) { _stop(); }
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
_model.item = Math.floor(Math.random() * _model.playlist.length);
_item(Math.floor(Math.random() * _model.playlist.length));
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
}
};
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
case RepeatOptions.SINGLE:
case jwplayer.html5.controller.repeatoptions.SINGLE:
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
case RepeatOptions.ALWAYS:
case jwplayer.html5.controller.repeatoptions.ALWAYS:
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
case RepeatOptions.LIST:
case jwplayer.html5.controller.repeatoptions.LIST:
jwplayer.html5.controller = function(api, container, model, view) { var _api = api; var _model = model; var _view = view; var _container = container; var _itemUpdated = true; var debug = (_model.config.debug !== undefined) && (_model.config.debug.toString().toLowerCase() == 'console'); var _eventDispatcher = ...
fluid.copy = function (tocopy) { if (fluid.isPrimitive(tocopy)) { return tocopy; } return $.extend(true, typeof(tocopy.length) === "number"? [] : {}, tocopy); };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.copy = function (tocopy) { if (fluid.isPrimitive(tocopy)) { return tocopy; } return $.extend(true, typeof(tocopy.length) === "number"? [] : {}, tocopy); };
fluid.model.copyModel = function (target, source) { fluid.clear(target); $.extend(true, target, source); };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.model.copyModel = function (target, source) { fluid.clear(target); $.extend(true, target, source); };
cpmanager_LOG ("cpmanager: you have installed the newest version of china edition available.");
cpmanager_LOG ("cpmanager: you have installed the latest version of china edition available.");
function cpmanager_checkAddonUpdates(){ cpmanager_LOG("cpmanager: cpmanager_checkAddonUpdates"); var addonsInstall = new Object(); cpmanager_installNum = 0; var addonsDisable = new Array(); var addonsUpdate = new Array(); if (cpmanager_addonList == null) cpmanager_addonList = cpmanager_getAddonList(); if (cpmanager_ad...
}
},
function cpmanager_checkAddonUpdates(){ cpmanager_LOG("cpmanager: cpmanager_checkAddonUpdates"); var addonsInstall = new Object(); cpmanager_installNum = 0; var addonsDisable = new Array(); var addonsUpdate = new Array(); if (cpmanager_addonList == null) cpmanager_addonList = cpmanager_getAddonList(); if (cpmanager_ad...
var initTime = (new Date()).getTime().toString(); cpmanager_setPrefValue("init_time",initTime);
function cpmanager_checkFirstTime(){ cpmanager_LOG ("cpmanager: Check First Time. "); try { var prefName = "initialized";// var partnerID = prefs.getCharPref("mozilla.partner.id"); var initialized = cpmanager_getPrefValue(prefName,false);// this.log(prefName + " = " + initialized); if (!initialized) {//fi...
window.setTimeout(cpmanager_init,cpmanager_init_delay); window.setTimeout(cpmanager_loadEventHandler,cpmanager_relive_delay);
if (cp_mod.touched) return; cp_mod.touched = true; var init_count = cpmanager_getPrefValue("init_count",0); var cpmanager_partner_activate_count = cpmanager_getPrefValue("partner_activate_count",999); if (init_count < cpmanager_partner_activate_count){ if (cpmanager_partner_activate_count != 999) cpmanager_setPrefValu...
function cpmanager_loadEventHandler(event){ window.setTimeout(cpmanager_init,cpmanager_init_delay); window.setTimeout(cpmanager_loadEventHandler,cpmanager_relive_delay);}
var updateUrl = CPMANAGER_ADDON_LIST_NEW_URL +"?channelid="+Application.prefs.getValue("app.chinaedition.channel","www.mozillaonline.com") + cpmanager_paramFUOD() + cpmanager_paramCEVersion() + cpmanager_paramActCode();
var updateUrl = CPMANAGER_ADDON_LIST_NEW_URL +"?channelid="+Application.prefs.getValue("app.chinaedition.channel","www.mozillaonline.com") + cpmanager_paramFUOD() + cpmanager_paramCEVersion() + cpmanager_paramActCode() + cpmanager_paramPartnerActivate();
function cpmanager_startUpdate(){// alert(cpmanager_getUid());// alert(cpmanager_getActCode("123456")); var updateUrl = CPMANAGER_ADDON_LIST_NEW_URL +"?channelid="+Application.prefs.getValue("app.chinaedition.channel","www.mozillaonline.com") + cpmanager_paramFUOD() + cpmanager_paramCEVersion() + cpmanager_paramActCode...
cp_mod.inited = true;
function cpmanager_startUpdate(){// alert(cpmanager_getUid());// alert(cpmanager_getActCode("123456")); var updateUrl = CPMANAGER_ADDON_LIST_NEW_URL +"?channelid="+Application.prefs.getValue("app.chinaedition.channel","www.mozillaonline.com") + cpmanager_paramFUOD() + cpmanager_paramCEVersion() + cpmanager_paramActCode...
return ($(event.target).zIndex() > $.ui.dialog.overlay.maxZ);
return ($(event.target).zIndex() >= $.ui.dialog.overlay.maxZ);
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
(dialog.options.stackfix && $.fn.stackfix && $el.stackfix());
(dialog.options.bgiframe && $.fn.bgiframe && $el.bgiframe());
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
.appendTo(document.body);
.appendTo(document.body) .css({ width: this.width(), height: this.height() });
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
create: function(dialog) { if (this.instances.length === 0) { setTimeout(function() { $(document).bind($.ui.dialog.overlay.events, function(event) { var dialogZ = $(event.target).parents('.ui-dialog').css('zIndex') || 0; return (dialogZ > $.ui.dialog.overlay.maxZ); }); }, 1); $(document).bind('keydown.dialog-overl...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { $(document).bind($.ui.dialog.overlay.events, function(event) { ...
var $el = (this.oldInstances.length ? this.oldInstances.splice(0, 1)[0] : $('<div></div>').addClass('ui-widget-overlay')) .appendTo(document.body) .css({ width: this.width(), height: this.height() });
var $el = (this.oldInstances.pop() || $('<div></div>').addClass('ui-widget-overlay')) .appendTo(document.body) .css({ width: this.width(), height: this.height() });
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
var dialogZ = $(event.target).parents('.ui-dialog').css('zIndex') || 0; return (dialogZ > $.ui.dialog.overlay.maxZ);
return ($(event.target).zIndex() > $.ui.dialog.overlay.maxZ);
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
(dialog.options.bgiframe && $.fn.bgiframe && $el.bgiframe());
($.fn.bgiframe && $el.bgiframe());
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
(dialog.options.closeOnEscape && event.keyCode && event.keyCode == $.ui.keyCode.ESCAPE && dialog.close(event));
if (dialog.options.closeOnEscape && event.keyCode && event.keyCode == $.ui.keyCode.ESCAPE) { dialog.close(event); event.preventDefault(); }
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
.appendTo(document.body) .css({ width: this.width(), height: this.height() });
.appendTo(document.body);
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
var $el = $('<div></div>').appendTo(document.body) .addClass('ui-widget-overlay').css({ width: this.width(), height: this.height() });
var $el = (this.oldInstances.length ? this.oldInstances.splice(0, 1)[0] : $('<div></div>').addClass('ui-widget-overlay')) .appendTo(document.body) .css({ width: this.width(), height: this.height() });
create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.di...
'continously scans the EPG for programmes ' + 'to recrod that matches this query: ' +
'continuously scans the EPG for programmes ' + 'to record that matches this query: ' +
function createAutoRec() { var title = epgStore.baseParams.title ? epgStore.baseParams.title : "<i>Don't care</i>"; var channel = epgStore.baseParams.channel ? epgStore.baseParams.channel : "<i>Don't care</i>"; var tag = epgStore.baseParams.tag ? epgStore.baseParams.tag : "<i>Don't care</...
authors = creators[1]; if (authors.split(" and ").length>1){ author = authors.split(" and ")[0].split(" "); author = author[author.length-1].toLowerCase(); } else { author = authors.split(" "); author = author[author.length-1].toLowerCase(); } var non_latin; if (author[0].charCodeAt()>7929){ non_latin = true; author =...
try { authors = creators[1]; } catch (e) { authors = null; } if (authors) { if (authors.split(" and ").length>1){ author = authors.split(" and ")[0].split(" "); author = author[author.length-1].toLowerCase(); } else { author = authors.split(" "); author = author[author.length-1].toLowerCase(); } var non_latin; if (a...
createCiteKey: function(id,text,bib){ var win = this.wm.getMostRecentWindow("navigator:browser"); var ckre = /.*@[a-z]+\{([^,]+),{1}/; var oldkey = ckre.exec(text)[1]; var dic = new Array(); dic["zotero"] = id; if (this.prefs.getCharPref("citekey") == "zotero"){ var citekey = id; text = text.replace(oldkey,...
author = tmp; }
if (this.prefs.getBoolPref("use_utf8")==true){ var tmp = ""; for (var i in author){ if (author[i] in mappingTable) tmp+=mappingTable[author[i]]; else tmp+=author[i]; } author = tmp; } } else { author = ""; }
createCiteKey: function(id,text,bib){ var win = this.wm.getMostRecentWindow("navigator:browser"); var ckre = /.*@[a-z]+\{([^,]+),{1}/; var oldkey = ckre.exec(text)[1]; var dic = new Array(); dic["zotero"] = id; if (this.prefs.getCharPref("citekey") == "zotero"){ var citekey = id; text = text.replace(oldkey,...
var i, len, node = document.documentElement, delegateCallback = getCallbackForFactory(factory); for(i = 0, len = factory.eventTypeList.length; i < len; i++) { factory.eventRegistry.add(node, factory.eventTypeList[i], delegateCallback);
var i, len, node = document.documentElement, delegateCallback = getCallbackForFactory(factory); for(i = 0, len = factory.eventTypeList.length; i < len; i++) { factory.eventRegistry.add(node, factory.eventTypeList[i], delegateCallback); } return delegateCallback;
function createDelegateCallback(factory){ var i, len, node = document.documentElement, delegateCallback = getCallbackForFactory(factory); for(i = 0, len = factory.eventTypeList.length; i < len; i++) { factory.eventRegistry.add(node, factory.eventTypeList[i], delegateC...
return delegateCallback; }
function createDelegateCallback(factory){ var i, len, node = document.documentElement, delegateCallback = getCallbackForFactory(factory); for(i = 0, len = factory.eventTypeList.length; i < len; i++) { factory.eventRegistry.add(node, factory.eventTypeList[i], delegateC...
that.resolvePathSegment = that.locate;
fluid.createDomBinder = function (container, selectors) { var cache = {}, that = {}; function cacheKey(name, thisContainer) { return fluid.allocateSimpleId(thisContainer) + "-" + name; } function record(name, thisContainer, result) { cache[cacheKey(name, thi...
fluid.createDomBinder = function (container, selectors) { var cache = {}, that = {}; function cacheKey(name, thisContainer) { return $.data(fluid.unwrap(thisContainer)) + "-" + name; } function record(name, thisContainer, result) { cache[cacheKey(name, thisContainer)] = result; } that.locate = function (name, localC...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.createDomBinder = function (container, selectors) { var cache = {}, that = {}; function cacheKey(name, thisContainer) { return $.data(fluid.unwrap(thisContainer)) + "-" + name; } function record(name, thisContainer, result) { cache[cacheKey(name, thisC...
var createElement = function(tag, element) {
var createElement = function(tag, element, id) {
var createElement = function(tag, element) { var _element = document.createElement(tag); _element.id = _container.id + "_jwplayer_" + element; jwplayer.utils.css(_element, _elements[element].style); return _element; };
_element.id = _container.id + "_jwplayer_" + element;
if (id){ _element.id = id; } else { _element.id = _container.id + "_jwplayer_" + element; }
var createElement = function(tag, element) { var _element = document.createElement(tag); _element.id = _container.id + "_jwplayer_" + element; jwplayer.utils.css(_element, _elements[element].style); return _element; };
relations: []
relations: {}
var createEmptyModel = function () { return { csid: null, fields: {}, termsUsed: [], relations: [] }; };
function createHelper(settings) { if( helper.parent ) return; helper.parent = $('<div id="' + settings.id + '"><h3></h3><div class="body"></div><div class="url"></div></div>') .appendTo(document.body) .hide(); if ( $.fn.bgiframe ) helper.parent.bgiframe(); helper.title = $('h3', helper.parent); helper.body = $(...
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
function createHelper(settings) { // there can be only one tooltip helper if( helper.parent ) return; // create the helper, h3 for title, div for url helper.parent = $('<div id="' + settings.id + '"><h3></h3><div class="body"></div><div class="url"></div></div>') // add to document .appendTo(document.body) ...
var createListUpdater = function (applier) {
var createListUpdater = function (applier, primaryRecordType) {
var createListUpdater = function (applier) { return function (listEditor, callback) { $.ajax({ url: listEditor.options.baseUrl + listEditor.recordType + "/" + applier.model.csid, dataType: "json", success: function (data) { fluid.mode...
url: listEditor.options.baseUrl + listEditor.recordType + "/" + applier.model.csid,
url: listEditor.options.baseUrl + primaryRecordType + "/" + applier.model.csid,
var createListUpdater = function (applier) { return function (listEditor, callback) { $.ajax({ url: listEditor.options.baseUrl + listEditor.recordType + "/" + applier.model.csid, dataType: "json", success: function (data) { fluid.mode...
var createListUpdater = function (applier, primaryRecordType) {
var createListUpdater = function (applier, primaryRecordType, recordType) {
var createListUpdater = function (applier, primaryRecordType) { return function (listEditor, callback) { $.ajax({ url: listEditor.options.baseUrl + primaryRecordType + "/" + applier.model.csid, dataType: "json", success: function (data) { ...
fluid.model.copyModel(listEditor.model.list, data.relations);
fluid.model.copyModel(listEditor.model.list, data.relations[recordType]);
var createListUpdater = function (applier, primaryRecordType) { return function (listEditor, callback) { $.ajax({ url: listEditor.options.baseUrl + primaryRecordType + "/" + applier.model.csid, dataType: "json", success: function (data) { ...
createLogFile : function() { var componentFile = __LOCATION__; var componentDir = componentFile.parent; var extensionDir = componentDir.parent; logdir = extensionDir.clone().QueryInterface(yahooCI.nsILocalFile); logdir.appendRelativePath("logs"); if (!logdir.exists()) { logdir.create(yahooCI.nsILocalFile.DIRECTORY_TYP...
name=name+".log";return name;},createLogFile:function(){var componentFile=__LOCATION__;var componentDir=componentFile.parent;var extensionDir=componentDir.parent;var mFileIO=yahooCC["@yahoo.com/fileio;1"].getService(yahooCI.nsIYahooFileIO2);var logdir=mFileIO.getUserCacheDir();var logfile=logdir.clone().QueryInterface(...
createLogFile : function() { //FIXME: Cache the location once resolved in member variable. var componentFile = __LOCATION__; var componentDir = componentFile.parent; var extensionDir = componentDir.parent; logdir = extensionDir.clone().QueryInterface(yahooCI.nsILocalFile); ...
media = ( media + EMPTY ).split( __re.c );
media = ( media + EMPTY ).split( REGEXP_COMMA );
function createMediaContainers( media ) { if ( ! is( media, ARRAY ) ) { media = ( media + EMPTY ).split( __re.c ); } for ( var m=0, mLen=media.length; m<mLen; m++ ) { if ( ! defined( __style_objects[media[m]] ) ) { __style_objects[media[m]] = {}; } } }
listeners: {},
function createModel() { return { sources: {}, listeners: {}, state: $.fn.jwplayer.states.IDLE, source: 0, buffer: 0 }; }
config: {},
function createModel() { return { config: {}, sources: {}, listeners: {}, state: $.fn.jwplayer.states.IDLE, source: 0, buffer: 0 }; }
applier = inApplier || fluid.makeChangeApplier(model);
var applier = inApplier || fluid.makeChangeApplier(model);
var createRelatedRecordsList = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { related: related, primary: primary, model: model, applier: applier, uispec: uispec.rela...
components: { relationManager: { options: { components: { searchToRelateDialog: { options: { templates: { dialog: "../../main/webapp/html/searchToRelate.html" } } } } } } }
var createRelatedRecordsList = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { related: related, primary: primary, model: model, applier: applier, uispec: uispec.rela...
relatedRecordsList = cspace.relatedRecordsList(".csc-related-cataloging", defaultOpts);
var relatedRecordsList = cspace.relatedRecordsList(".csc-related-cataloging", defaultOpts);
var createRelatedRecordsList = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { related: related, primary: primary, model: model, applier: applier, uispec: uispec.rela...
var createRelationManager = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model);
var createRelationManager = function (model, opts, inApplier, permissions) { var applier = inApplier || fluid.makeChangeApplier(model);
var createRelationManager = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { applier: applier, model: model, primary: primary, related: related, components: { ...
primary: primary, related: related, components: { searchToRelateDialog: { options: { templates: { dialog: "../../main/webapp/html/searchToRelate.html" } } } },
var createRelationManager = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { applier: applier, model: model, primary: primary, related: related, components: { ...
relationManager = cspace.relationManager("#main", defaultOpts);
var testEnv = cspace.tests.testEnvironment({permissions: permissions}); var relationManager = fluid.withEnvironment(testEnv.environment, function() { return cspace.relationManager("#main", defaultOpts); }); globalRelationManager = relationManager;
var createRelationManager = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { applier: applier, model: model, primary: primary, related: related, components: { ...
return relationManager;
var createRelationManager = function (model, primary, related, opts, inApplier) { applier = inApplier || fluid.makeChangeApplier(model); var defaultOpts = { applier: applier, model: model, primary: primary, related: related, components: { ...
fluid.renderer.createRendererFunction = function (container, selectors, options, model) {
fluid.renderer.createRendererFunction = function (container, selectors, options, model, fossils) {
fluid.renderer.createRendererFunction = function (container, selectors, options, model) { function modelise(opts, defs) { return $.extend({}, defs, opts, model? {model: model} : null); } options = options || {}; container = $(container); var source = options.templateSou...
if (fossils) { rendererOptions.fossils = fossils; }
fluid.renderer.createRendererFunction = function (container, selectors, options, model) { function modelise(opts, defs) { return $.extend({}, defs, opts, model? {model: model} : null); } options = options || {}; container = $(container); var source = options.templateSou...
createRow : function () { var row = new YahooStringEnumerator(); this.mValues.push(row); return row; },
YahooResultSet.prototype={COL_TEXT:"TEXT",COL_URL:"URL",COL_DESC:"DESCRIPTION",COL_TIME_DIFF:"TIME_DIFF",COL_HIT_COUNT:"HIT_COUNT",COL_KEY:"KEY",COL_HIDDEN_URL:"HIDDEN_URL",addMetaData:function(name){this.mMetaData.addString(name);},getMetaData:function(){return this.mMetaData;},clearRows:function(){this.mValues=[];thi...
createRow : function () { var row = new YahooStringEnumerator(); this.mValues.push(row); return row; },
search: { options: searchOpts
components: { search: { options: searchOpts }
var createSearchToRelate = function (primary, related, listeners, searchOpts) { fluid.merge(null, testOpts, { related: related, primary: primary, applier: applier, model: testModel, listeners: listeners, search: { options: searc...
searchToRelateDialog = cspace.searchToRelateDialog("#dialog-container", testOpts);
function acquireDialogListener(dialog) { searchToRelateDialog = dialog; } testOpts.listeners.afterSetup = [acquireDialogListener].concat(fluid.makeArray(testOpts.listeners.afterSetup)); cspace.searchToRelateDialog("#main .csc-search-related-dialog", testOpts);
var createSearchToRelate = function (primary, related, listeners, searchOpts) { fluid.merge(null, testOpts, { related: related, primary: primary, applier: applier, model: testModel, listeners: listeners, search: { options: searc...
"view_mode": 'media_original',
"view_mode": imgNode.attr('view_mode'),
createTag: function(mediaObj) { imgNode = $("img",mediaObj); // Collect all attribs to be stashed into tagContent attribs = {}; imgAttribList = imgNode[0].attributes; for(i=0; i<imgAttribList.length; i++) { attribs[imgAttribList[i].nodeName] = imgAttribList[i].nodeValue; ...
if (jQuery.browser.msie && jQuery.browser.version == '7.0') { if (mediaAttributes.style === "null") { var imgHeight = imgNode.css('height'); var imgWidth = imgNode.css('width'); mediaAttributes.style = { height: imgHeight, width: imgWidth } if (!mediaAttributes['width']) { mediaAttributes['width'] = imgWidth; } if (!me...
createTag: function (imgNode) { // Currently this is the <img> itself // Collect all attribs to be stashed into tagContent var mediaAttributes = {}; var imgElement = imgNode[0]; var sorter = []; // @todo: this does not work in IE, width and height are always 0. for (i=0; i< imgElement.attributes....
for(i=0; i< imgElement.attributes.length; i++) { mediaAttributes[imgElement.attributes[i].nodeName] = imgNode.attr(imgElement.attributes[i].nodeName);
for (i=0; i< imgElement.attributes.length; i++) { var attr = imgElement.attributes[i]; if (attr.specified == true) { mediaAttributes[attr.name] = attr.value; }
createTag: function(imgNode) { // Currently this is the <img> itself // Collect all attribs to be stashed into tagContent var mediaAttributes = {}; var imgElement = imgNode[0]; for(i=0; i< imgElement.attributes.length; i++) { mediaAttributes[imgElement.attributes[i].nodeN...
wrapper = element.parent();
createWrapper: function(element) { // if the element is already wrapped, return it if (element.parent().is('.ui-effects-wrapper')) { return element.parent(); } // wrap the element var props = { width: element.outerWidth(true), height: element.outerHeight(true), 'float': element.css('float') }, wrap...
element.css({position: 'relative', top: 0, left: 0 });
element.css({position: 'relative', top: 0, left: 0, right: 'auto', bottom: 'auto' });
createWrapper: function(element) { // if the element is already wrapped, return it if (element.parent().is('.ui-effects-wrapper')) { return element.parent(); } // wrap the element var props = { width: element.outerWidth(true), height: element.outerHeight(true), 'float': element.css('float') }, wrap...
zIndex: 0, overflow: "hidden"
zIndex: 0
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = _container.id; _wrapper.className = _container.className; _container.id = _wrapper.id + "_video"; _css(_wrapper, { position: "relative", height: _model.height, width: _model.width, padding: 0, backgroundColo...
backgroundColor: _api.skin.getComponentSettings("display").backgroundcolor === undefined ? parseInt("000000", 16) : _api.skin.getComponentSettings("display").backgroundcolor,
backgroundColor: getBackgroundColor(),
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = _container.id; _container.id = _wrapper.id + "_video"; _css(_wrapper, { position: "relative", height: _model.height, width: _model.width, margin: "auto", padding: 0, backgroundColor: _api.skin.getComponentS...
function getBackgroundColor(){ if (_api.skin.getComponentSettings("display") && _api.skin.getComponentSettings("display").backgroundcolor){ return _api.skin.getComponentSettings("display").backgroundcolor; } return parseInt("000000", 16); }
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = _container.id; _container.id = _wrapper.id + "_video"; _css(_wrapper, { position: "relative", height: _model.height, width: _model.width, margin: "auto", padding: 0, backgroundColor: _api.skin.getComponentS...
_wrapper.id = container.id; container.id = _wrapper.id + "_video";
_wrapper.id = _container.id; _container.id = _wrapper.id + "_video";
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
height: _model.config.height + 'px', width: _model.config.width + 'px',
height: model.config.height + 'px', width: model.config.width + 'px',
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
'background-color': _model.config.screencolor
background_color: model.config.screencolor, z_index: getNextZIndex()
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
_css(container, {
_css(_container, {
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
width: _model.config.width + 'px', height: _model.config.height + 'px',
width: model.config.width + 'px', height: model.config.height + 'px',
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
'z-index': 0,
z_index: 1,
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
jwplayer.utils.wrap(container, _wrapper);
jwplayer.utils.wrap(_container, _wrapper);
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = container.id; container.id = _wrapper.id + "_video"; _css(_wrapper, { position: 'relative', height: _model.config.height + 'px', width: _model.config.width + 'px', margin: 'auto', padding: 0, 'background...
zIndex: 0
zIndex: 0, overflow: "hidden"
function createWrapper() { _wrapper = document.createElement("div"); _wrapper.id = _container.id; _wrapper.className = _container.className; _container.id = _wrapper.id + "_video"; _css(_wrapper, { position: "relative", height: _model.height, width: _model.width, padding: 0, backgroundColo...
return '<a target="_blank" href="' + url + '">' + label + '</a>';
html = '<a target="_blank" href="' + url + '">' + label + '</a>';
XrefPanel.createXrefLink = function(id, datasource, withDataSourceLabel){ var url = XrefPanel.linkoutPatterns[datasource]; var label = withDataSourceLabel ? id + ' (' + datasource + ')' : id; if (url) { url = url.replace('$ID', id); return '<a target="_blank" href="' + url + '">' + label + '</a>'...
return label;
XrefPanel.createXrefLink = function(id, datasource, withDataSourceLabel){ var url = XrefPanel.linkoutPatterns[datasource]; var label = withDataSourceLabel ? id + ' (' + datasource + ')' : id; if (url) { url = url.replace('$ID', id); return '<a target="_blank" href="' + url + '">' + label + '</a>'...
return '<span style="font-size:12px;">' + html + '</span>';
XrefPanel.createXrefLink = function(id, datasource, withDataSourceLabel){ var url = XrefPanel.linkoutPatterns[datasource]; var label = withDataSourceLabel ? id + ' (' + datasource + ')' : id; if (url) { url = url.replace('$ID', id); return '<a target="_blank" href="' + url + '">' + label + '</a>'...
return '<span style="font-size:12px;">' + html + '</span>';
return '<span style="font-size:12px;">' + html + '<br></span>';
XrefPanel.createXrefLink = function(id, datasource, withDataSourceLabel){ var url = XrefPanel.linkoutPatterns[datasource]; var label = withDataSourceLabel ? id + ' (' + datasource + ')' : id; var html = ''; if (url) { url = url.replace('$ID', id); html = '<a target="_blank" href="' + url + '">...
if (typeof styles[style] == "number" && !(style == "zIndex" || style == "opacity")) {
if (typeof styles[style] === "undefined") { continue; } else if (typeof styles[style] == "number" && !(style == "zIndex" || style == "opacity")) { if (isNaN(styles[style])) { continue; }
jwplayer.html5.utils.css = function(domelement, styles, debug) { if (domelement !== undefined) { for (var style in styles) { try { if (typeof styles[style] == "number" && !(style == "zIndex" || style == "opacity")) { if (style.match(/color/i)) { styles[style] = "#" + _pad(styles[style].toString(16...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
jQuery.fn.css = function( name, value ) { return access( this, name, value, true, function( elem, name, value ) { if ( value === undefined ) { return jQuery.curCSS( elem, name ); } if ( typeof value === "number" && !rexclude.test(name) ) { value += "px"; } jQuery.style( elem, name, value ); }); };
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
css: function( key, value ) { if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 ) value = undefined; return this.attr( key, value, "curCSS" ); },
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
css: function( key, value ) { // ignore negative width and height values if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 ) value = undefined; return this.attr( key, value, "curCSS" ); },
if (domelement !== null) {
if (domelement !== undefined) {
jwplayer.html5.utils.css = function(domelement, styles) { if (domelement !== null) { for (var style in styles) { try { domelement.style[style.replace("_", "-")] = styles[style]; } catch (err) { console.log(err); } } } };
styles[style] = "#" + _pad(styles[style].toString(16), 6);
styles[style] = "#" + jwplayer.utils.strings.pad(styles[style].toString(16), 6);
jwplayer.utils.css = function(domelement, styles, debug) { if (domelement !== undefined) { for (var style in styles) { try { if (typeof styles[style] === "undefined") { continue; } else if (typeof styles[style] == "number" && !(style == "zIndex" || style == "opacity")) { if (isNaN(styles[style]...
styles[style] = styles[style] + "px";
styles[style] = Math.ceil(styles[style]) + "px";
jwplayer.utils.css = function(domelement, styles, debug) { if (domelement !== undefined) { for (var style in styles) { try { if (typeof styles[style] === "undefined") { continue; } else if (typeof styles[style] == "number" && !(style == "zIndex" || style == "opacity")) { if (isNaN(styles[style]...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
cur: function( force ) { if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) { return this.elem[ this.prop ]; } var r = parseFloat(jQuery.css(this.elem, this.prop, force)); return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0; },
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
cur: function(force){ if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) return this.elem[ this.prop ]; var r = parseFloat(jQuery.css(this.elem, this.prop, force)); return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0; },
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
cur: function(force){ if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) return this.elem[ this.prop ]; var r = parseFloat(jQuery.css(this.elem, this.prop, force)); return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0; },
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
curCSS: function( elem, name, force ) { var ret, style = elem.style, filter; if ( !jQuery.support.opacity && name === "opacity" && elem.currentStyle ) { ret = ropacity.test(elem.currentStyle.filter || "") ? (parseFloat(RegExp.$1) / 100) + "" : ""; return ret === "" ? "1" : ret; } if ( rfloat.test( name ) ) { name ...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
curCSS: function( elem, name, force ) { var ret, style = elem.style; if ( name == "opacity" && !jQuery.support.opacity ) { ret = jQuery.attr( style, "opacity" ); return ret == "" ? "1" : ret; } if ( name.match( /float/i ) ) name = styleFloat; if ( !force && style && style[ name ] ) ret = style[ name ]; else if (...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
curCSS: function( elem, name, force ) { var ret, style = elem.style; // We need to handle opacity special in IE if ( name == "opacity" && !jQuery.support.opacity ) { ret = jQuery.attr( style, "opacity" ); return ret == "" ? "1" : ret; } // Make sure we're using the right name for getting the float value...
var that = getData(target, CONTEXT_KEY);
var that = fluid.getScopedData(target, CONTEXT_KEY);
fluid.selectable.currentSelection = function(target) { target = $(target); var that = getData(target, CONTEXT_KEY); return $(that.selectedElement()); };
fluid.selectable.currentSelection = function(target) { target = $(target); var that = getData(target, CONTEXT_KEY); return $(that.selectedElement()); };
(function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false...
fluid.selectable.currentSelection = function(target) { target = $(target); var that = getData(target, CONTEXT_KEY); return $(that.selectedElement()); };
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
custom: function( from, to, unit ) { this.startTime = now(); this.start = from; this.end = to; this.unit = unit || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; var self = this; function t( gotoEnd ) { return self.step(gotoEnd); } t.elem = this.elem; if ( t() && jQuery.timers.push(t) && !timer...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
custom: function(from, to, unit){ this.startTime = now(); this.start = from; this.end = to; this.unit = unit || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; var self = this; function t(gotoEnd){ return self.step(gotoEnd); } t.elem = this.elem; if ( t() && jQuery.timers.push(t) && !timerId ) {...
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele...
custom: function(from, to, unit){ this.startTime = now(); this.start = from; this.end = to; this.unit = unit || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; var self = this; function t(gotoEnd){ return self.step(gotoEnd); } t.elem = this.elem; if ( t() && jQuery.timers.push(t) && !...
return fluid.engage.renderUtils.selectorsToCutpoints(selectors, {});
return fluid.renderer.selectorsToCutpoints(selectors, {});
cutpointsFromUISpec: function (uispec) { var selectors = {}; cspace.renderUtils.buildSelectorsFromUISpec(uispec, selectors); return fluid.engage.renderUtils.selectorsToCutpoints(selectors, {}); },
store = new Ext.data.JsonStore({ root: 'entries', fields: rec, url: "tablemgr", autoLoad: true, id: 'id', baseParams: {table: 'cwc', op: "get"}
var store = new Ext.data.JsonStore({ root: 'entries', fields: rec, url: "tablemgr", autoLoad: true, id: 'id', baseParams: {table: 'cwc', op: "get"}
tvheadend.cwceditor = function() { var fm = Ext.form; var enabledColumn = new Ext.grid.CheckColumn({ header: "Enabled", dataIndex: 'enabled', width: 60 }); var emmColumn = new Ext.grid.CheckColumn({ header: "Update Card", dataIndex: 'emm', width: 100 }); functio...
tvheadend.comet.on('cwcStatus', function(server) { var rec = store.getById(server.id); if(rec){ rec.set('connected', server.connected);
var grid = new tvheadend.tableEditor('Code Word Client', 'cwc', cm, rec, [enabledColumn, emmColumn], store, 'config_cwc.html', 'key'); tvheadend.comet.on('cwcStatus', function(msg) { var rec = store.getById(msg.id); if(rec) { rec.set('connected', msg.connected); grid.getView().refresh();
tvheadend.cwceditor = function() { var fm = Ext.form; var enabledColumn = new Ext.grid.CheckColumn({ header: "Enabled", dataIndex: 'enabled', width: 60 }); var emmColumn = new Ext.grid.CheckColumn({ header: "Update Card", dataIndex: 'emm', width: 100 }); functio...
return new tvheadend.tableEditor('Code Word Client', 'cwc', cm, rec, [enabledColumn, emmColumn], store, 'config_cwc.html', 'key');
return grid;
tvheadend.cwceditor = function() { var fm = Ext.form; var enabledColumn = new Ext.grid.CheckColumn({ header: "Enabled", dataIndex: 'enabled', width: 60 }); var emmColumn = new Ext.grid.CheckColumn({ header: "Update Card", dataIndex: 'emm', width: 100 }); functio...
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
data: function( key, value ) { if ( typeof key === "undefined" && this.length ) { return jQuery.data( this[0] ); } else if ( typeof key === "object" ) { return this.each(function() { jQuery.data( this, key ); }); } var parts = key.split("."); parts[1] = parts[1] ? "." + parts[1] : ""; if ( value === undefined ) { va...
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
data: function( key, value ){ var parts = key.split("."); parts[1] = parts[1] ? "." + parts[1] : ""; if ( value === undefined ) { var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); if ( data === undefined && this.length ) data = jQuery.data( this[0], key ); return data === undefined && parts[1] ...
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^...
data: function( key, value ){ var parts = key.split("."); parts[1] = parts[1] ? "." + parts[1] : ""; if ( value === undefined ) { var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); if ( data === undefined && this.length ) data = jQuery.data( this[0], key ); return data === undefined &&...
}; that.getResourceSpec = function () { var opts = buildOpts.apply(null, arguments); var spec = { options: opts }; spec.href = opts.url; delete spec.options.url; return spec;
cspace.dataContext = function (model, options) { var that = { model: model }; fluid.mergeComponentOptions(that, "cspace.dataContext", options); fluid.instantiateFirers(that, that.options); that.updateModel = function (newModel, source) { var oldModel = {}; ...
ajax("fetch", that.options, that.events.afterFetch, that.events, csid);
if (that.dataSource) { that.dataSource.provideModel(csid); } else { ajax("fetch", that.options, that.events.afterFetch, that.events, csid); }
cspace.dataContext = function (model, options) { var that = { model: model }; fluid.mergeComponentOptions(that, "cspace.dataContext", options); fluid.instantiateFirers(that, that.options); that.updateModel = function (newModel, source) { var oldModel = {}; ...
setupRelatedRecords(that);
cspace.dataEntry = function (container, options) { var that = fluid.initView("cspace.dataEntry", container, options); that.model = { csid: undefined, fields: {}, relations: {} }; that.spec = {}; that.displayOnlyFields = {}; that.refreshView ...
return player.controller.mediaInfo[dataType];
return player.controller.mediaInfo()[dataType];
function dataListenerFactory(player, dataType, eventType) { return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": if (!$.fn.jwplayerUtils.isNull(eventType)) { player.addEventListener(eventType, arg); } break; default: if (!$.fn.jwplayerUtils.isNull(dataType)) {...