mstp_22_developr.mvc/Scripts/mstp_22_developr/js/setup.js
(开头部分) 67KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
*
* '||''|. '||
* || || .... .... ... .... || ... ... ... ... ..
* || || .|...|| '|. | .|...|| || .| '|. ||' || ||' ''
* || || || '|.| || || || || || | ||
* .||...|' '|...' '| '|...' .||. '|..|' ||...' .||.
* ||
* --------------- By Display:inline ------------- '''' -----------
*
* Global template functions
*
* Content:
* 1. Variables declaration
* 2. Template interface
* 3. Features detection
* 4. Touch optimization
* 5. Position: fixed polyfill
* 6. Generic functions
* 7. Custom events
* 8. DOM watching functions
* 9. Template setup functions
* 10. Template setup
* 11. Viewport resizing handling
* 12. Template init
* 13. Event delegation for template elements
* 14. Tracked elements
* 15. Custom animations
* 16. Mobile browser chrome hidding
* 17. Dependencies
*
* Structural good practices from the article from Addy Osmani 'Essential jQuery plugin patterns'
* @url http://coding.smashingmagazine.com/2011/10/11/essential-jquery-plugin-patterns/
*/
/*
* The semi-colon before the function invocation is a safety
* net against concatenated scripts and/or other plugins
* that are not closed properly.
*/
;(function($, window, document, undefined)
{
/*
* undefined is used here as the undefined global variable in ECMAScript 3 is mutable (i.e. it can
* be changed by someone else). undefined isn't really being passed in so we can ensure that its value is
* truly undefined. In ES5, undefined can no longer be modified.
*/
/*
* window and document are passed through as local variables rather than as globals, because this (slightly)
* quickens the resolution process and can be more efficiently minified.
*/
/********************************************************/
/* 1. Variables declaration */
/********************************************************/
// Objects cache
var win = $(window),
doc = $(document),
后面还有 2674 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。