jquery.themepunch.tools.min.js?v=1.x
target:t}); } else { listener.c.call(listener.s || t); } } } } }; /* * ---------------------------------------------------------------- * Ticker * ---------------------------------------------------------------- */ var _reqAnimFrame = window.requestAnimationFrame, _cancelAnimFrame = window.cancelAnimationFrame, _getTime = Date.now || function() {return new Date().getTime();}, _lastUpdate = _getTime(); //now try to determine the requestAnimationFrame and cancelAnimationFrame functions and if none are found, we'll use a setTimeout()/clearTimeout() polyfill. a = ["ms","moz","webkit","o"]; i = a.length; while (--i > -1 && !_reqAnimFrame) { _reqAnimFrame the parent timeline. } if (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the "playhead" of its timeline goes past the zero-duration tween in the forward direction or lands directly
|
drupal.js?v=10.3.1
formatPlural = function (count, singular, plural, args, options) { args = args || {}; args['@count'] = count; const pluralDelimiter = drupalSettings.pluralDelimiter; const translations = Drupal.t( singular + pluralDelimiter + plural, args, options, ).split(pluralDelimiter); let index = 0; // Determine the index of the plural form. if ( typeof drupalTranslations !== 'undefined' && drupalTranslations.pluralFormula ) { index = count in drupalTranslations.pluralFormula ? drupalTranslations.pluralFormula[count] : drupalTranslations.pluralFormula.default; } else if (args['@count'] !== 1) { index = 1 a sentence. * * @param {string} str * The text to format (plain-text). * * @return {string} * The formatted text (html). */ Drupal.theme.placeholder = function (str) { return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`; }; /** * Determine if an element is visible. * * @param {HTMLElement} elem * The element to check. * * @return {boolean} * True if the element is visible. */ Drupal.elementIsVisible = function (elem) { return !!( elem.offsetWidth || elem.offsetHeight || elem |
featherlight.js?ver=6.0.0
resized */ type: null, /* Specify type of lightbox. If unset, it will check for the targetAttrs value. */ contentFilters: ['jquery', 'image', 'html', 'ajax', 'iframe', 'text'], /* List of content filters to use to determine the content */ /*** methods ***/ /* setup iterates over a single instance of featherlight and prepares the background and binds the events */ setup: function (target, config) { /* all arguments are optional */ if (typeof target Clear or set before onReady */ defaults: Featherlight.prototype, /* You can access and override all defaults using $.featherlight.defaults, which is just a synonym for $.featherlight.prototype */ /* Contains the logic to determine content */ contentFilters: { jquery: { regex: /^[#.]\w/, /* Anything that starts with a class name or identifiers */ test: function (elem) { return elem instanceof $ && elem; }, process: function (elem) { return this.persist !== false ? $(elem) : $(elem
|
|
Tesaurus |
---|
| Tiada maklumat tesaurus untuk kata determine |
|
|