MCPcopy Create free account
hub / github.com/Phlow/feeling-responsive / data_options

Function data_options

assets/js/javascript.js:529–537  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

527 data_attr_name = data_attr_name || 'options';
528 var opts = {}, ii, p, opts_arr,
529 data_options = function (el) {
530 var namespace = Foundation.global.namespace;
531
532 if (namespace.length > 0) {
533 return el.data(namespace + '-' + data_attr_name);
534 }
535
536 return el.data(data_attr_name);
537 };
538
539 var cached_options = data_options(el);
540

Callers 1

javascript.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected