You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
51 KiB
1 lines
51 KiB
{"version":3,"sources":["transition.js"],"names":["$","window","document","undefined","Math","self","Function","fn","transition","returnedValue","$allModules","this","moduleSelector","selector","time","Date","getTime","performance","moduleArguments","arguments","query","queryArguments","slice","call","methodInvoked","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","each","index","settings","instance","error","className","metadata","animationEnd","moduleNamespace","eventNamespace","module","$module","element","initialize","get","apply","namespace","data","animationEndEvent","invoke","verbose","interval","delay","animate","instantiate","destroy","removeData","refresh","displayType","forceRepaint","$parentElement","parent","$nextElement","next","length","detach","appendTo","insertBefore","repaint","offsetWidth","shouldReverse","direction","animationDirection","can","reverse","outward","debug","overrideSettings","is","supported","support","animation","animating","queue","allowRepeats","has","occurring","queuing","complete","set","noAnimation","reset","remove","animationCallbacks","restore","conditions","one","event","completeCallback","failSafe","looping","hide","inward","show","onComplete","force","visible","style","attr","userStyle","overrideStyle","currentDisplay","css","emptyStyle","removeAttr","hidden","hasDirection","split","word","inlineDisplay","isArray","match","animationClass","save","start","duration","animationName","animation-duration","addClass","removeClass","useFailSafe","add","onStart","cache","transitionExists","exists","currentAnimation","timer","triggerHandler","failSafeDelay","queueCallback","off","display","clearTimeout","extend","directionClass","currentDirection","indexOf","parseFloat","shouldDetermine","replace","animationStartEvent","createElement","animations","OAnimation","MozAnimation","WebkitAnimation","forced","elementClass","tagName","$clone","inAnimation","directionExists","prop","insertAfter","hasClass","filter","blur","onHide","onShow","toggle","stop","stopAll","clear","enable","disabled","disable","setting","name","value","isPlainObject","internal","silent","log","prototype","bind","console","info","message","currentTime","executionTime","previousTime","push","Name","Arguments","Element","Execution Time","title","totalTime","group","table","groupCollapsed","groupEnd","passedArguments","context","maxDepth","found","response","object","depth","camelCaseValue","charAt","toUpperCase","isFunction","loading","repeated","method","jQuery"],"mappings":";;;;;;;;;CAUC,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D,IAAU5M,GACd4M,IAKRtK,EAAOG,eAGHnC,IAAkBN,EACtBM,EACAE,MAKNX,EAAEO,GAAGC,WAAWgI,UAEhBxI,EAAEO,GAAGC,WAAWyB,UAGdkJ,KAAgB,aAGhBI,QAAgB,EAGhB1G,OAAgB,EAGhB1B,SAAgB,EAGhBlC,aAAgB,EAGhB8B,UAAgB,aAGhBK,SAAgB,EAGhBuB,QAAgB,OAGhB0D,QAAgB,aAChB5B,WAAgB,aAChBiE,OAAgB,aAChBD,OAAgB,aAGhBtC,aAAgB,EAGhBS,cAAgB,IAGhBvD,cAAgB,EAGhB1B,aAAgB,EAGhBuB,UAAgB,OAChB4C,UAAgB,EAGhB1C,OAAgB,EAEhB/C,UACEsB,YAAa,WAGfvB,WACE+C,UAAa,YACb6F,SAAa,WACb5D,OAAa,SACbb,OAAa,KACbgH,QAAa,UACblH,QAAa,UACbzB,QAAa,MACbpE,WAAa,aACbmG,QAAa,WAIfxE,OACEwD,YAAc,uHACd6H,SAAc,qEACdC,OAAc,uCACdxI,QAAc,kDAMdyI,OAAQzN,OAAQC","file":"transition.min.js","sourcesContent":["/*!\n * # Semantic UI 2.2.6 - Transition\n * http://github.com/semantic-org/semantic-ui/\n *\n *\n * Released under the MIT license\n * http://opensource.org/licenses/MIT\n *\n */\n\n;(function ($, window, document, undefined) {\n\n\"use strict\";\n\nwindow = (typeof window != 'undefined' && window.Math == Math)\n ? window\n : (typeof self != 'undefined' && self.Math == Math)\n ? self\n : Function('return this')()\n;\n\n$.fn.transition = function() {\n var\n $allModules = $(this),\n moduleSelector = $allModules.selector || '',\n\n time = new Date().getTime(),\n performance = [],\n\n moduleArguments = arguments,\n query = moduleArguments[0],\n queryArguments = [].slice.call(arguments, 1),\n methodInvoked = (typeof query === 'string'),\n\n requestAnimationFrame = window.requestAnimationFrame\n || window.mozRequestAnimationFrame\n || window.webkitRequestAnimationFrame\n || window.msRequestAnimationFrame\n || function(callback) { setTimeout(callback, 0); },\n\n returnedValue\n ;\n $allModules\n .each(function(index) {\n var\n $module = $(this),\n element = this,\n\n // set at run time\n settings,\n instance,\n\n error,\n className,\n metadata,\n animationEnd,\n animationName,\n\n namespace,\n moduleNamespace,\n eventNamespace,\n module\n ;\n\n module = {\n\n initialize: function() {\n\n // get full settings\n settings = module.get.settings.apply(element, moduleArguments);\n\n // shorthand\n className = settings.className;\n error = settings.error;\n metadata = settings.metadata;\n\n // define namespace\n eventNamespace = '.' + settings.namespace;\n moduleNamespace = 'module-' + settings.namespace;\n instance = $module.data(moduleNamespace) || module;\n\n // get vendor specific events\n animationEnd = module.get.animationEndEvent();\n\n if(methodInvoked) {\n methodInvoked = module.invoke(query);\n }\n\n // method not invoked, lets run an animation\n if(methodInvoked === false) {\n module.verbose('Converted arguments into settings object', settings);\n if(settings.interval) {\n module.delay(settings.animate);\n }\n else {\n module.animate();\n }\n module.instantiate();\n }\n },\n\n instantiate: function() {\n module.verbose('Storing instance of module', module);\n instance = module;\n $module\n .data(moduleNamespace, instance)\n ;\n },\n\n destroy: function() {\n module.verbose('Destroying previous module for', element);\n $module\n .removeData(moduleNamespace)\n ;\n },\n\n refresh: function() {\n module.verbose('Refreshing display type on next animation');\n delete module.displayType;\n },\n\n forceRepaint: function() {\n module.verbose('Forcing element repaint');\n var\n $parentElement = $module.parent(),\n $nextElement = $module.next()\n ;\n if($nextElement.length === 0) {\n $module.detach().appendTo($parentElement);\n }\n else {\n $module.detach().insertBefore($nextElement);\n }\n },\n\n repaint: function() {\n module.verbose('Repainting element');\n var\n fakeAssignment = element.offsetWidth\n ;\n },\n\n delay: function(interval) {\n var\n direction = module.get.animationDirection(),\n shouldReverse,\n delay\n ;\n if(!direction) {\n direction = module.can.transition()\n ? module.get.direction()\n : 'static'\n ;\n }\n interval = (interval !== undefined)\n ? interval\n : settings.interval\n ;\n shouldReverse = (settings.reverse == 'auto' && direction == className.outward);\n delay = (shouldReverse || settings.reverse == true)\n ? ($allModules.length - index) * settings.interval\n : index * settings.interval\n ;\n module.debug('Delaying animation by', delay);\n setTimeout(module.animate, delay);\n },\n\n animate: function(overrideSettings) {\n settings = overrideSettings || settings;\n if(!module.is.supported()) {\n module.error(error.support);\n return false;\n }\n module.debug('Preparing animation', settings.animation);\n if(module.is.animating()) {\n if(settings.queue) {\n if(!settings.allowRepeats && module.has.direction() && module.is.occurring() && module.queuing !== true) {\n module.debug('Animation is currently occurring, preventing queueing same animation', settings.animation);\n }\n else {\n module.queue(settings.animation);\n }\n return false;\n }\n else if(!settings.allowRepeats && module.is.occurring()) {\n module.debug('Animation is already occurring, will not execute repeated animation', settings.animation);\n return false;\n }\n else {\n module.debug('New animation started, completing previous early', settings.animation);\n instance.complete();\n }\n }\n if( module.can.animate() ) {\n module.set.animating(settings.animation);\n }\n else {\n module.error(error.noAnimation, settings.animation, element);\n }\n },\n\n reset: function() {\n module.debug('Resetting animation to beginning conditions');\n module.remove.animationCallbacks();\n module.restore.conditions();\n module.remove.animating();\n },\n\n queue: function(animation) {\n module.debug('Queueing animation of', animation);\n module.queuing = true;\n $module\n .one(animationEnd + '.queue' + eventNamespace, function() {\n module.queuing = false;\n module.repaint();\n module.animate.apply(this, settings);\n })\n ;\n },\n\n complete: function (event) {\n module.debug('Animation complete', settings.animation);\n module.remove.completeCallback();\n module.remove.failSafe();\n if(!module.is.looping()) {\n if( module.is.outward() ) {\n module.verbose('Animation is outward, hiding element');\n module.restore.conditions();\n module.hide();\n }\n else if( module.is.inward() ) {\n module.verbose('Animation is outward, showing element');\n module.restore.conditions();\n module.show();\n }\n else {\n module.verbose('Static animation completed');\n module.restore.conditions();\n settings.onComplete.call(element);\n }\n }\n },\n\n force: {\n visible: function() {\n var\n style = $module.attr('style'),\n userStyle = module.get.userStyle(),\n displayType = module.get.displayType(),\n overrideStyle = userStyle + 'display: ' + displayType + ' !important;',\n currentDisplay = $module.css('display'),\n emptyStyle = (style === undefined || style === '')\n ;\n if(currentDisplay !== displayType) {\n module.verbose('Overriding default display to show element', displayType);\n $module\n .attr('style', overrideStyle)\n ;\n }\n else if(emptyStyle) {\n $module.removeAttr('style');\n }\n },\n hidden: function() {\n var\n style = $module.attr('style'),\n currentDisplay = $module.css('display'),\n emptyStyle = (style === undefined || style === '')\n ;\n if(currentDisplay !== 'none' && !module.is.hidden()) {\n module.verbose('Overriding default display to hide element');\n $module\n .css('display', 'none')\n ;\n }\n else if(emptyStyle) {\n $module\n .removeAttr('style')\n ;\n }\n }\n },\n\n has: {\n direction: function(animation) {\n var\n hasDirection = false\n ;\n animation = animation || settings.animation;\n if(typeof animation === 'string') {\n animation = animation.split(' ');\n $.each(animation, function(index, word){\n if(word === className.inward || word === className.outward) {\n hasDirection = true;\n }\n });\n }\n return hasDirection;\n },\n inlineDisplay: function() {\n var\n style = $module.attr('style') || ''\n ;\n return $.isArray(style.match(/display.*?;/, ''));\n }\n },\n\n set: {\n animating: function(animation) {\n var\n animationClass,\n direction\n ;\n // remove previous callbacks\n module.remove.completeCallback();\n\n // determine exact animation\n animation = animation || settings.animation;\n animationClass = module.get.animationClass(animation);\n\n // save animation class in cache to restore class names\n module.save.animation(animationClass);\n\n // override display if necessary so animation appears visibly\n module.force.visible();\n\n module.remove.hidden();\n module.remove.direction();\n\n module.start.animation(animationClass);\n\n },\n duration: function(animationName, duration) {\n duration = duration || settings.duration;\n duration = (typeof duration == 'number')\n ? duration + 'ms'\n : duration\n ;\n if(duration || duration === 0) {\n module.verbose('Setting animation duration', duration);\n $module\n .css({\n 'animation-duration': duration\n })\n ;\n }\n },\n direction: function(direction) {\n direction = direction || module.get.direction();\n if(direction == className.inward) {\n module.set.inward();\n }\n else {\n module.set.outward();\n }\n },\n looping: function() {\n module.debug('Transition set to loop');\n $module\n .addClass(className.looping)\n ;\n },\n hidden: function() {\n $module\n .addClass(className.transition)\n .addClass(className.hidden)\n ;\n },\n inward: function() {\n module.debug('Setting direction to inward');\n $module\n .removeClass(className.outward)\n .addClass(className.inward)\n ;\n },\n outward: function() {\n module.debug('Setting direction to outward');\n $module\n .removeClass(className.inward)\n .addClass(className.outward)\n ;\n },\n visible: function() {\n $module\n .addClass(className.transition)\n .addClass(className.visible)\n ;\n }\n },\n\n start: {\n animation: function(animationClass) {\n animationClass = animationClass || module.get.animationClass();\n module.debug('Starting tween', animationClass);\n $module\n .addClass(animationClass)\n .one(animationEnd + '.complete' + eventNamespace, module.complete)\n ;\n if(settings.useFailSafe) {\n module.add.failSafe();\n }\n module.set.duration(settings.duration);\n settings.onStart.call(element);\n }\n },\n\n save: {\n animation: function(animation) {\n if(!module.cache) {\n module.cache = {};\n }\n module.cache.animation = animation;\n },\n displayType: function(displayType) {\n if(displayType !== 'none') {\n $module.data(metadata.displayType, displayType);\n }\n },\n transitionExists: function(animation, exists) {\n $.fn.transition.exists[animation] = exists;\n module.verbose('Saving existence of transition', animation, exists);\n }\n },\n\n restore: {\n conditions: function() {\n var\n animation = module.get.currentAnimation()\n ;\n if(animation) {\n $module\n .removeClass(animation)\n ;\n module.verbose('Removing animation class', module.cache);\n }\n module.remove.duration();\n }\n },\n\n add: {\n failSafe: function() {\n var\n duration = module.get.duration()\n ;\n module.timer = setTimeout(function() {\n $module.triggerHandler(animationEnd);\n }, duration + settings.failSafeDelay);\n module.verbose('Adding fail safe timer', module.timer);\n }\n },\n\n remove: {\n animating: function() {\n $module.removeClass(className.animating);\n },\n animationCallbacks: function() {\n module.remove.queueCallback();\n module.remove.completeCallback();\n },\n queueCallback: function() {\n $module.off('.queue' + eventNamespace);\n },\n completeCallback: function() {\n $module.off('.complete' + eventNamespace);\n },\n display: function() {\n $module.css('display', '');\n },\n direction: function() {\n $module\n .removeClass(className.inward)\n .removeClass(className.outward)\n ;\n },\n duration: function() {\n $module\n .css('animation-duration', '')\n ;\n },\n failSafe: function() {\n module.verbose('Removing fail safe timer', module.timer);\n if(module.timer) {\n clearTimeout(module.timer);\n }\n },\n hidden: function() {\n $module.removeClass(className.hidden);\n },\n visible: function() {\n $module.removeClass(className.visible);\n },\n looping: function() {\n module.debug('Transitions are no longer looping');\n if( module.is.looping() ) {\n module.reset();\n $module\n .removeClass(className.looping)\n ;\n }\n },\n transition: function() {\n $module\n .removeClass(className.visible)\n .removeClass(className.hidden)\n ;\n }\n },\n get: {\n settings: function(animation, duration, onComplete) {\n // single settings object\n if(typeof animation == 'object') {\n return $.extend(true, {}, $.fn.transition.settings, animation);\n }\n // all arguments provided\n else if(typeof onComplete == 'function') {\n return $.extend({}, $.fn.transition.settings, {\n animation : animation,\n onComplete : onComplete,\n duration : duration\n });\n }\n // only duration provided\n else if(typeof duration == 'string' || typeof duration == 'number') {\n return $.extend({}, $.fn.transition.settings, {\n animation : animation,\n duration : duration\n });\n }\n // duration is actually settings object\n else if(typeof duration == 'object') {\n return $.extend({}, $.fn.transition.settings, duration, {\n animation : animation\n });\n }\n // duration is actually callback\n else if(typeof duration == 'function') {\n return $.extend({}, $.fn.transition.settings, {\n animation : animation,\n onComplete : duration\n });\n }\n // only animation provided\n else {\n return $.extend({}, $.fn.transition.settings, {\n animation : animation\n });\n }\n },\n animationClass: function(animation) {\n var\n animationClass = animation || settings.animation,\n directionClass = (module.can.transition() && !module.has.direction())\n ? module.get.direction() + ' '\n : ''\n ;\n return className.animating + ' '\n + className.transition + ' '\n + directionClass\n + animationClass\n ;\n },\n currentAnimation: function() {\n return (module.cache && module.cache.animation !== undefined)\n ? module.cache.animation\n : false\n ;\n },\n currentDirection: function() {\n return module.is.inward()\n ? className.inward\n : className.outward\n ;\n },\n direction: function() {\n return module.is.hidden() || !module.is.visible()\n ? className.inward\n : className.outward\n ;\n },\n animationDirection: function(animation) {\n var\n direction\n ;\n animation = animation || settings.animation;\n if(typeof animation === 'string') {\n animation = animation.split(' ');\n // search animation name for out/in class\n $.each(animation, function(index, word){\n if(word === className.inward) {\n direction = className.inward;\n }\n else if(word === className.outward) {\n direction = className.outward;\n }\n });\n }\n // return found direction\n if(direction) {\n return direction;\n }\n return false;\n },\n duration: function(duration) {\n duration = duration || settings.duration;\n if(duration === false) {\n duration = $module.css('animation-duration') || 0;\n }\n return (typeof duration === 'string')\n ? (duration.indexOf('ms') > -1)\n ? parseFloat(duration)\n : parseFloat(duration) * 1000\n : duration\n ;\n },\n displayType: function(shouldDetermine) {\n shouldDetermine = (shouldDetermine !== undefined)\n ? shouldDetermine\n : true\n ;\n if(settings.displayType) {\n return settings.displayType;\n }\n if(shouldDetermine && $module.data(metadata.displayType) === undefined) {\n // create fake element to determine display state\n module.can.transition(true);\n }\n return $module.data(metadata.displayType);\n },\n userStyle: function(style) {\n style = style || $module.attr('style') || '';\n return style.replace(/display.*?;/, '');\n },\n transitionExists: function(animation) {\n return $.fn.transition.exists[animation];\n },\n animationStartEvent: function() {\n var\n element = document.createElement('div'),\n animations = {\n 'animation' :'animationstart',\n 'OAnimation' :'oAnimationStart',\n 'MozAnimation' :'mozAnimationStart',\n 'WebkitAnimation' :'webkitAnimationStart'\n },\n animation\n ;\n for(animation in animations){\n if( element.style[animation] !== undefined ){\n return animations[animation];\n }\n }\n return false;\n },\n animationEndEvent: function() {\n var\n element = document.createElement('div'),\n animations = {\n 'animation' :'animationend',\n 'OAnimation' :'oAnimationEnd',\n 'MozAnimation' :'mozAnimationEnd',\n 'WebkitAnimation' :'webkitAnimationEnd'\n },\n animation\n ;\n for(animation in animations){\n if( element.style[animation] !== undefined ){\n return animations[animation];\n }\n }\n return false;\n }\n\n },\n\n can: {\n transition: function(forced) {\n var\n animation = settings.animation,\n transitionExists = module.get.transitionExists(animation),\n displayType = module.get.displayType(false),\n elementClass,\n tagName,\n $clone,\n currentAnimation,\n inAnimation,\n directionExists\n ;\n if( transitionExists === undefined || forced) {\n module.verbose('Determining whether animation exists');\n elementClass = $module.attr('class');\n tagName = $module.prop('tagName');\n\n $clone = $('<' + tagName + ' />').addClass( elementClass ).insertAfter($module);\n currentAnimation = $clone\n .addClass(animation)\n .removeClass(className.inward)\n .removeClass(className.outward)\n .addClass(className.animating)\n .addClass(className.transition)\n .css('animationName')\n ;\n inAnimation = $clone\n .addClass(className.inward)\n .css('animationName')\n ;\n if(!displayType) {\n displayType = $clone\n .attr('class', elementClass)\n .removeAttr('style')\n .removeClass(className.hidden)\n .removeClass(className.visible)\n .show()\n .css('display')\n ;\n module.verbose('Determining final display state', displayType);\n module.save.displayType(displayType);\n }\n\n $clone.remove();\n if(currentAnimation != inAnimation) {\n module.debug('Direction exists for animation', animation);\n directionExists = true;\n }\n else if(currentAnimation == 'none' || !currentAnimation) {\n module.debug('No animation defined in css', animation);\n return;\n }\n else {\n module.debug('Static animation found', animation, displayType);\n directionExists = false;\n }\n module.save.transitionExists(animation, directionExists);\n }\n return (transitionExists !== undefined)\n ? transitionExists\n : directionExists\n ;\n },\n animate: function() {\n // can transition does not return a value if animation does not exist\n return (module.can.transition() !== undefined);\n }\n },\n\n is: {\n animating: function() {\n return $module.hasClass(className.animating);\n },\n inward: function() {\n return $module.hasClass(className.inward);\n },\n outward: function() {\n return $module.hasClass(className.outward);\n },\n looping: function() {\n return $module.hasClass(className.looping);\n },\n occurring: function(animation) {\n animation = animation || settings.animation;\n animation = '.' + animation.replace(' ', '.');\n return ( $module.filter(animation).length > 0 );\n },\n visible: function() {\n return $module.is(':visible');\n },\n hidden: function() {\n return $module.css('visibility') === 'hidden';\n },\n supported: function() {\n return(animationEnd !== false);\n }\n },\n\n hide: function() {\n module.verbose('Hiding element');\n if( module.is.animating() ) {\n module.reset();\n }\n element.blur(); // IE will trigger focus change if element is not blurred before hiding\n module.remove.display();\n module.remove.visible();\n module.set.hidden();\n module.force.hidden();\n settings.onHide.call(element);\n settings.onComplete.call(element);\n // module.repaint();\n },\n\n show: function(display) {\n module.verbose('Showing element', display);\n module.remove.hidden();\n module.set.visible();\n module.force.visible();\n settings.onShow.call(element);\n settings.onComplete.call(element);\n // module.repaint();\n },\n\n toggle: function() {\n if( module.is.visible() ) {\n module.hide();\n }\n else {\n module.show();\n }\n },\n\n stop: function() {\n module.debug('Stopping current animation');\n $module.triggerHandler(animationEnd);\n },\n\n stopAll: function() {\n module.debug('Stopping all animation');\n module.remove.queueCallback();\n $module.triggerHandler(animationEnd);\n },\n\n clear: {\n queue: function() {\n module.debug('Clearing animation queue');\n module.remove.queueCallback();\n }\n },\n\n enable: function() {\n module.verbose('Starting animation');\n $module.removeClass(className.disabled);\n },\n\n disable: function() {\n module.debug('Stopping animation');\n $module.addClass(className.disabled);\n },\n\n setting: function(name, value) {\n module.debug('Changing setting', name, value);\n if( $.isPlainObject(name) ) {\n $.extend(true, settings, name);\n }\n else if(value !== undefined) {\n if($.isPlainObject(settings[name])) {\n $.extend(true, settings[name], value);\n }\n else {\n settings[name] = value;\n }\n }\n else {\n return settings[name];\n }\n },\n internal: function(name, value) {\n if( $.isPlainObject(name) ) {\n $.extend(true, module, name);\n }\n else if(value !== undefined) {\n module[name] = value;\n }\n else {\n return module[name];\n }\n },\n debug: function() {\n if(!settings.silent && settings.debug) {\n if(settings.performance) {\n module.performance.log(arguments);\n }\n else {\n module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');\n module.debug.apply(console, arguments);\n }\n }\n },\n verbose: function() {\n if(!settings.silent && settings.verbose && settings.debug) {\n if(settings.performance) {\n module.performance.log(arguments);\n }\n else {\n module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');\n module.verbose.apply(console, arguments);\n }\n }\n },\n error: function() {\n if(!settings.silent) {\n module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');\n module.error.apply(console, arguments);\n }\n },\n performance: {\n log: function(message) {\n var\n currentTime,\n executionTime,\n previousTime\n ;\n if(settings.performance) {\n currentTime = new Date().getTime();\n previousTime = time || currentTime;\n executionTime = currentTime - previousTime;\n time = currentTime;\n performance.push({\n 'Name' : message[0],\n 'Arguments' : [].slice.call(message, 1) || '',\n 'Element' : element,\n 'Execution Time' : executionTime\n });\n }\n clearTimeout(module.performance.timer);\n module.performance.timer = setTimeout(module.performance.display, 500);\n },\n display: function() {\n var\n title = settings.name + ':',\n totalTime = 0\n ;\n time = false;\n clearTimeout(module.performance.timer);\n $.each(performance, function(index, data) {\n totalTime += data['Execution Time'];\n });\n title += ' ' + totalTime + 'ms';\n if(moduleSelector) {\n title += ' \\'' + moduleSelector + '\\'';\n }\n if($allModules.length > 1) {\n title += ' ' + '(' + $allModules.length + ')';\n }\n if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {\n console.groupCollapsed(title);\n if(console.table) {\n console.table(performance);\n }\n else {\n $.each(performance, function(index, data) {\n console.log(data['Name'] + ': ' + data['Execution Time']+'ms');\n });\n }\n console.groupEnd();\n }\n performance = [];\n }\n },\n // modified for transition to return invoke success\n invoke: function(query, passedArguments, context) {\n var\n object = instance,\n maxDepth,\n found,\n response\n ;\n passedArguments = passedArguments || queryArguments;\n context = element || context;\n if(typeof query == 'string' && object !== undefined) {\n query = query.split(/[\\. ]/);\n maxDepth = query.length - 1;\n $.each(query, function(depth, value) {\n var camelCaseValue = (depth != maxDepth)\n ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)\n : query\n ;\n if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {\n object = object[camelCaseValue];\n }\n else if( object[camelCaseValue] !== undefined ) {\n found = object[camelCaseValue];\n return false;\n }\n else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {\n object = object[value];\n }\n else if( object[value] !== undefined ) {\n found = object[value];\n return false;\n }\n else {\n return false;\n }\n });\n }\n if ( $.isFunction( found ) ) {\n response = found.apply(context, passedArguments);\n }\n else if(found !== undefined) {\n response = found;\n }\n\n if($.isArray(returnedValue)) {\n returnedValue.push(response);\n }\n else if(returnedValue !== undefined) {\n returnedValue = [returnedValue, response];\n }\n else if(response !== undefined) {\n returnedValue = response;\n }\n return (found !== undefined)\n ? found\n : false\n ;\n }\n };\n module.initialize();\n })\n ;\n return (returnedValue !== undefined)\n ? returnedValue\n : this\n ;\n};\n\n// Records if CSS transition is available\n$.fn.transition.exists = {};\n\n$.fn.transition.settings = {\n\n // module info\n name : 'Transition',\n\n // hide all output from this component regardless of other settings\n silent : false,\n\n // debug content outputted to console\n debug : false,\n\n // verbose debug output\n verbose : false,\n\n // performance data output\n performance : true,\n\n // event namespace\n namespace : 'transition',\n\n // delay between animations in group\n interval : 0,\n\n // whether group animations should be reversed\n reverse : 'auto',\n\n // animation callback event\n onStart : function() {},\n onComplete : function() {},\n onShow : function() {},\n onHide : function() {},\n\n // whether timeout should be used to ensure callback fires in cases animationend does not\n useFailSafe : true,\n\n // delay in ms for fail safe\n failSafeDelay : 100,\n\n // whether EXACT animation can occur twice in a row\n allowRepeats : false,\n\n // Override final display type on visible\n displayType : false,\n\n // animation duration\n animation : 'fade',\n duration : false,\n\n // new animations will occur after previous ones\n queue : true,\n\n metadata : {\n displayType: 'display'\n },\n\n className : {\n animating : 'animating',\n disabled : 'disabled',\n hidden : 'hidden',\n inward : 'in',\n loading : 'loading',\n looping : 'looping',\n outward : 'out',\n transition : 'transition',\n visible : 'visible'\n },\n\n // possible errors\n error: {\n noAnimation : 'Element is no longer attached to DOM. Unable to animate. Use silent setting to surpress this warning in production.',\n repeated : 'That animation is already occurring, cancelling repeated animation',\n method : 'The method you called is not defined',\n support : 'This browser does not support CSS animations'\n }\n\n};\n\n\n})( jQuery, window, document );\n"]}
|