PageRenderTime 375ms queryTime 68ms sortTime 15ms getByIdsTime 131ms findMatchingLines 59ms

100+ results results for 'underscore.js' (375 ms)

Not the results you expected?
boxplot_demo3.html https://gitlab.com/lewdlime/pythonista-docs-full | HTML | 191 lines
                    
21    <script type="text/javascript" src="../../_static/jquery.js"></script>
                    
22    <script type="text/javascript" src="../../_static/underscore.js"></script>
                    
23    <script type="text/javascript" src="../../_static/doctools.js"></script>
                    
                
accounting.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 361 lines
                    
43	 * Tests whether supplied parameter is a string
                    
44	 * from underscore.js
                    
45	 */
                    
51	 * Tests whether supplied parameter is a string
                    
52	 * from underscore.js, delegates to ECMA5's native Array.isArray
                    
53	 */
                    
59	 * Tests whether supplied parameter is a true object
                    
60	 * from underscore.js, delegates to ECMA5's native Array.isArray
                    
61	 */
                    
                
objbuffer.html https://bitbucket.org/stillzhl/manuals.git | HTML | 213 lines
                    
22    <script type="text/javascript" src="../_static/jquery.js"></script>
                    
23    <script type="text/javascript" src="../_static/underscore.js"></script>
                    
24    <script type="text/javascript" src="../_static/doctools.js"></script>
                    
                
index.js https://gitlab.com/maudebo/tp-maudebaillyotis | JavaScript | 531 lines
                    
5 * Released under MIT license <https://lodash.com/license>
                    
6 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
7 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
width.html https://github.com/YuhangGe/kissyteam.github.com.git | HTML | 256 lines
                    
31    <script type="text/javascript" src="../../../static/jquery.js"></script>
                    
32    <script type="text/javascript" src="../../../static/underscore.js"></script>
                    
33    <script type="text/javascript" src="../../../static/doctools.js"></script> 
                    
                
openmp.html https://github.com/clawpack/clawpack.github.com.git | HTML | 250 lines
                    
14    <script src="_static/jquery.js"></script>
                    
15    <script src="_static/underscore.js"></script>
                    
16    <script src="_static/doctools.js"></script>
                    
                
getDOMNodes.html https://github.com/kissyteam/kissyteam.github.com.git | HTML | 259 lines
                    
25</script>
                    
26    <script type="text/javascript" src="http://a.tbcdn.cn/s/kissy/gallery/sphinx/1.1.3/??jquery.js,underscore.js,doctools.js,searchtools.js"></script> 
                    
27<script>
                    
                
hyperspy._signals.common_signal1d.html https://github.com/hyperspy/hyperspy-doc.git | HTML | 296 lines
                    
26        <script type="text/javascript" src="../_static/jquery.js"></script>
                    
27        <script type="text/javascript" src="../_static/underscore.js"></script>
                    
28        <script type="text/javascript" src="../_static/doctools.js"></script>
                    
                
demo3.html https://github.com/yiminghe/kissyteam.github.com.git | HTML | 274 lines
                    
26            js.push("../../../_static/jquery.js");
                    
27            js.push("../../../_static/underscore.js");
                    
28            js.push("../../../_static/doctools.js");
                    
                
template-micro.js https://bitbucket.org/kudutest1/moodlegit.git | JavaScript | 250 lines
                    
23
                    
24// This code was heavily inspired by Underscore.js's _.template() method
                    
25// (written by Jeremy Ashkenas), which was in turn inspired by John Resig's
                    
                
qho_1d.html https://github.com/asmeurer/sympy_doc.git | HTML | 189 lines
                    
16    <script src="../../_static/jquery.js"></script>
                    
17    <script src="../../_static/underscore.js"></script>
                    
18    <script src="../../_static/doctools.js"></script>
                    
                
write.html https://bitbucket.org/cfpython/cfpython.bitbucket.org.git | HTML | 220 lines
                    
22    <script type="text/javascript" src="_static/jquery.js"></script>
                    
23    <script type="text/javascript" src="_static/underscore.js"></script>
                    
24    <script type="text/javascript" src="_static/doctools.js"></script>
                    
                
README.md https://gitlab.com/marvin1/soundcloud | Markdown | 164 lines
                    
15* Underscore compatibility builds:<br>
                    
16[Development](https://raw.github.com/lodash/lodash/v1.0.1/dist/lodash.underscore.js) and
                    
17[Production](https://raw.github.com/lodash/lodash/v1.0.1/dist/lodash.underscore.min.js)
                    
23[Lo-Dash compat-prod](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.1/lodash.compat.min.js),<br>
                    
24[Underscore compat-dev](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.1/lodash.underscore.js), and
                    
25[Underscore compat-prod](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.1/lodash.underscore.min.js)
                    
                
common.js https://gitlab.com/sudheeshshetty/tracker | JavaScript | 292 lines
                    
159
                    
160// extracted from underscore.js
                    
161// Return a copy of the object only containing the whitelisted properties.
                    
170
                    
171// extracted from underscore.js
                    
172// Return a copy of the object omitting the blacklisted properties.
                    
                
ncutils.html https://github.com/sigmonky/LivingRoom.git | HTML | 33 lines
                    
1<!DOCTYPE html>  <html> <head>   <title>ncutils.js</title>   <meta http-equiv="content-type" content="text/html; charset=UTF-8">   <link rel="stylesheet" media="all" href="docco.css" /> </head> <body>   <div id="container">     <div id="background"></div>            <div id="jump_to">         Jump To &hellip;         <div id="jump_wrapper">           <div id="jump_page">                                           <a class="source" href="controllers.html">                 controllers.js               </a>                                           <a class="source" href="auth.html">                 auth.js               </a>                                           <a class="source" href="backbone.html">                 backbone.js               </a>                                           <a class="source" href="io.html">                 io.js               </a>                                           <a class="source" href="jquery-1.5.1.html">                 jquery-1.5.1.js               </a>                                           <a class="source" href="mashlib.html">                 mashlib.js               </a>                                           <a class="source" href="ncutils.html">                 ncutils.js               </a>                                           <a class="source" href="socket.io.html">                 socket.io.js               </a>                                           <a class="source" href="socket.html">                 socket.js               </a>                                           <a class="source" href="transport.html">                 transport.js               </a>                                           <a class="source" href="underscore.html">                 underscore.js               </a>                                           <a class="source" href="util.html">                 util.js               </a>                                           <a class="source" href="models.html">                 models.js               </a>                                           <a class="source" href="views.html">                 views.js               </a>                        </div>         </div>       </div>          <table cellpadding="0" cellspacing="0">       <thead>         <tr>           <th class="docs">             <h1>               ncutils.js             </h1>           </th>           <th class="code">           </th>         </tr>       </thead>       <tbody>                               <tr id="section-1">             <td class="docs">               <div class="pilwrap">                 <a class="pilcrow" href="#section-1">&#182;</a>               </div>                            </td>             <td class="code">               <div class="highlight"><pre><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
                    
2    <span class="k">if</span> <span class="p">(</span><span class="k">typeof</span> <span class="nx">exports</span> <span class="o">!==</span> <span class="s1">&#39;undefined&#39;</span><span class="p">)</span> <span class="p">{</span>
                    
                
semver.js https://github.com/kanso/repository.git | JavaScript | 305 lines
                    
1// modified to work in the browser by using underscore.js
                    
2var _ = require('underscore')._;
                    
                
tiersheet.html https://github.com/weixiyen/MMO.git | HTML | 234 lines
                    
226<script type="text/javascript" src="/js/jquery.defaultText.js?v=23"></script>
                    
227<script type="text/javascript" src="/js/underscore.js?v=23"></script>
                    
228<script type="text/javascript" src="/js/ui.js?v=23"></script>
                    
                
index.html https://github.com/pfarmer/pfarmer.github.com.git | HTML | 239 lines
                    
25    <script type="text/javascript" src="../../../../../_static/jquery.js"></script>
                    
26    <script type="text/javascript" src="../../../../../_static/underscore.js"></script>
                    
27    <script type="text/javascript" src="../../../../../_static/doctools.js"></script>
                    
                
knockback-localization.js https://bitbucket.org/mbinot/backboned.git | JavaScript | 145 lines
                    
4  License: MIT (http://www.opensource.org/licenses/mit-license.php)
                    
5  Dependencies: Knockout.js, Backbone.js, and Underscore.js.
                    
6*/
                    
39    https://github.com/kmalakoff/knockback/blob/master/LICENSE
                    
40  Dependencies: Knockout.js, Backbone.js, and Underscore.js.
                    
41    Optional dependency: Backbone.ModelRef.js.
                    
                
current_preset.html https://github.com/gnachman/iterm2-website.git | HTML | 171 lines
                    
14    <script src="../_static/jquery.js"></script>
                    
15    <script src="../_static/underscore.js"></script>
                    
16    <script src="../_static/doctools.js"></script>
                    
                
qgrid.widget.js https://gitlab.com/e0/qgrid | JavaScript | 218 lines
                    
45            if (!existing_config.paths['underscore']){
                    
46                path_dictionary['underscore'] = "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min";
                    
47            }
                    
                
solr.html https://github.com/strogo/openlibrary.github.com.git | HTML | 165 lines
                    
22    <script type="text/javascript" src="../../../_static/jquery.js"></script>
                    
23    <script type="text/javascript" src="../../../_static/underscore.js"></script>
                    
24    <script type="text/javascript" src="../../../_static/doctools.js"></script>
                    
                
alert.html https://bitbucket.org/jaiew/patched-chrome-driver.git | HTML | 129 lines
                    
22    <script type="text/javascript" src="../../../../_static/jquery.js"></script>
                    
23    <script type="text/javascript" src="../../../../_static/underscore.js"></script>
                    
24    <script type="text/javascript" src="../../../../_static/doctools.js"></script>
                    
                
index.html https://github.com/lishugo/streamie.git | HTML | 123 lines
                    
15     - Loading via require.js
                    
16     - underscore.js to make the JavaScript saner
                    
17     - yes, also jQuery for DOM manipulation
                    
                
accounting.js https://gitlab.com/alidz1982/cdnjs | JavaScript | 406 lines
                    
50	 * Tests whether supplied parameter is a string
                    
51	 * from underscore.js
                    
52	 */
                    
58	 * Tests whether supplied parameter is a string
                    
59	 * from underscore.js, delegates to ECMA5's native Array.isArray
                    
60	 */
                    
                
index.js https://gitlab.com/superduperfantastic/blog | JavaScript | 306 lines
                    
4 * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
6 * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
20.md https://gitlab.com/Rockyspade/jasmine | Markdown | 179 lines
                    
33
                    
34We removed the previous equality code and are now using new code for testing equality. We started with [Underscore.js][underscore]'s `isEqual`, refactored a bit and added some additional tests.
                    
35
                    
                
template.js https://gitlab.com/blocknotary/IonicInterviews | JavaScript | 216 lines
                    
4 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
6 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
hyperspy.signals.html https://github.com/hyperspy/hyperspy-doc.git | HTML | 242 lines
                    
17        <script src="../_static/jquery.js"></script>
                    
18        <script src="../_static/underscore.js"></script>
                    
19        <script src="../_static/doctools.js"></script>
                    
                
mode.html https://github.com/mroonga/mroonga.github.com.git | HTML | 163 lines
                    
12    <script src="../static/jquery.js"></script>
                    
13    <script src="../static/underscore.js"></script>
                    
14    <script src="../static/_sphinx_javascript_frameworks_compat.js"></script>
                    
                
genindex.html https://github.com/akecn/kissy-gallery.git | HTML | 401 lines
                    
26<script type="text/javascript" src="http://a.tbcdn.cn/s/kissy/gallery/sphinx/1.1.3/jquery.js"></script>
                    
27<script type="text/javascript" src="http://a.tbcdn.cn/s/kissy/gallery/sphinx/1.1.3/underscore.js"></script>
                    
28<script type="text/javascript" src="http://a.tbcdn.cn/s/kissy/gallery/sphinx/1.1.3/doctools.js"></script>
                    
                
innertube.js https://github.com/ianli/innertube.git | JavaScript | 152 lines
                    
9 * - [easyXDM](http://easyxdm.net/) for cross-domain messaging
                    
10 * - [Underscore.js](http://documentcloud.github.com/underscore/) for utility functions
                    
11 */
                    
                
README.md https://bitbucket.org/phillipburch/schejule.git | Markdown | 142 lines
                    
14* Underscore builds to use as a drop-in replacement:<br>
                    
15[Development](https://raw.github.com/lodash/lodash/2.1.0/dist/lodash.underscore.js) &
                    
16[Production](https://raw.github.com/lodash/lodash/2.1.0/dist/lodash.underscore.min.js)
                    
                
index.html https://github.com/YuhangGe/kissyteam.github.com.git | HTML | 280 lines
                    
31    <script type="text/javascript" src="../../static/jquery.js"></script>
                    
32    <script type="text/javascript" src="../../static/underscore.js"></script>
                    
33    <script type="text/javascript" src="../../static/doctools.js"></script> 
                    
                
index.html https://bitbucket.org/titogelo/yahoo-pipes-with-backbone-bootstrap.git | HTML | 151 lines
                    
4	<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
                    
5	<script type="text/javascript" src="http://backbonejs.org/test/vendor/underscore.js"></script>
                    
6	<script type="text/javascript" src="http://backbonejs.org/backbone.js"></script>
                    
                
common-conventions.html https://github.com/YuhangGe/kissyteam.github.com.git | HTML | 216 lines
                    
31    <script type="text/javascript" src="../static/jquery.js"></script>
                    
32    <script type="text/javascript" src="../static/underscore.js"></script>
                    
33    <script type="text/javascript" src="../static/doctools.js"></script> 
                    
                
intro.html https://github.com/mozilla/kuma-lib.git | HTML | 206 lines
                    
23        <script type="text/javascript" src="_static/jquery.js"></script>
                    
24        <script type="text/javascript" src="_static/underscore.js"></script>
                    
25        <script type="text/javascript" src="_static/doctools.js"></script>
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 426 lines
                    
1// Underscore.js
                    
2// (c) 2009 Jeremy Ashkenas, DocumentCloud Inc.
                    
391  
                    
392  // Run Underscore.js in noConflict mode, returning the '_' variable to its
                    
393  // previous owner. Returns a reference to the Underscore object.
                    
                
prefixes.html https://github.com/sympy/sympy_doc.git | HTML | 159 lines
                    
19    <script src="../../../_static/jquery.js"></script>
                    
20    <script src="../../../_static/underscore.js"></script>
                    
21    <script src="../../../_static/doctools.js"></script>
                    
                
index.html https://github.com/zauner/vvvv.js-website.git | HTML | 161 lines
                    
122  <p>
                    
123    VVVV.js uses underscore.js mainly for iterating through hashes. This is really great because it overcomes Javascript's lack
                    
124    of ordered hashes, and creates more verbous code.
                    
127    However, if used at a high frequency (as in every frame) it turns
                    
128    out to significantly throttle overall shmoofness. Replacing underscore.js calls with native loops at performance critical code locations brought
                    
129    a noticable performance boost and should drastically increase the average frame rate in most cases.
                    
                
misadventure_part_iv.md https://github.com/fronx/homoiconic.git | Markdown | 163 lines
                    
21    <script src="./javascripts/vendor/async.js"></script>
                    
22    <script src="./javascripts/vendor/documentcloud/underscore.js"></script>
                    
23    <script src="./javascripts/vendor/documentcloud/backbone.js"></script>
                    
                
html5sql.js https://bitbucket.org/sce9sc-team/nodebackbone.git | JavaScript | 329 lines
                    
21		},
                    
22		isArray = function (obj) { // From Underscore.js
                    
23			return Object.prototype.toString.call(obj) === '[object Array]'; 
                    
24		},
                    
25		isUndefined = function(obj) { // From Underscore.js
                    
26		    return obj === void 0;
                    
                
stapes.js https://gitlab.com/Mirros/cdnjs | JavaScript | 472 lines
                    
23     *
                    
24     *  These are more or less modelled on the ones used in Underscore.js,
                    
25     *  but might not be as extensive or failproof.
                    
                
README.html https://github.com/clawpack/clawpack.github.com.git | HTML | 188 lines
                    
14    <script src="../../../../../_static/jquery.js"></script>
                    
15    <script src="../../../../../_static/underscore.js"></script>
                    
16    <script src="../../../../../_static/doctools.js"></script>
                    
                
mroonga_command.html https://github.com/mroonga/mroonga.github.com.git | HTML | 208 lines
                    
12    <script src="../../static/jquery.js"></script>
                    
13    <script src="../../static/underscore.js"></script>
                    
14    <script src="../../static/_sphinx_javascript_frameworks_compat.js"></script>
                    
                
other_material.html https://github.com/PyTables/pytables.github.com.git | HTML | 210 lines
                    
16        <script src="_static/jquery.js"></script>
                    
17        <script src="_static/underscore.js"></script>
                    
18        <script src="_static/doctools.js"></script>
                    
                
flash.html https://bitbucket.org/oh1rouny/oh1rouny.bitbucket.org.git | HTML | 126 lines
                    
39      };
                    
40    </script><script type="text/javascript" src="../../../_static/underscore.js"></script><script type="text/javascript" src="../../../_static/doctools.js"></script><script type="text/javascript" src="../../../_static/disqus.js"></script></head>
                    
41    <body>
                    
                
underscore.js https://bitbucket.org/pastor399/newcastleunifc.git | JavaScript | 1226 lines
                    
2
                    
3//     Underscore.js 1.4.3
                    
4//     http://underscorejs.org
                    
                
underscore.js https://github.com/ryanramage/inception.git | JavaScript | 807 lines
                    
1//     Underscore.js 1.1.6
                    
2//     (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
generate.php https://bitbucket.org/Maron1/taqman.git | PHP | 854 lines
                    
47        'backbone.js' => 'http://backbonejs.org/backbone.js',
                    
48        'underscore.js' => 'http://underscorejs.org/underscore.js',
                    
49        'handlebars.js' => 'http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js',
                    
                
jquery.mentionsInput.js https://bitbucket.org/cfield/diaspora.git | JavaScript | 423 lines
                    
5 *
                    
6 * Using underscore.js
                    
7 *
                    
                
README.md https://bitbucket.org/avovsya/contactme.git | Markdown | 287 lines
                    
3
                    
4An alternative to Underscore.js, delivering consistency, [customization](https://github.com/bestiejs/lodash#custom-builds), [performance](http://lodash.com/benchmarks), and [extra features](https://github.com/bestiejs/lodash#features).
                    
5
                    
16* Underscore compatibility builds:<br>
                    
17[Development](https://raw.github.com/bestiejs/lodash/v1.0.0/dist/lodash.underscore.js) and
                    
18[Production](https://raw.github.com/bestiejs/lodash/v1.0.0/dist/lodash.underscore.min.js)
                    
24[Lo-Dash compat-prod](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0/lodash.compat.min.js),<br>
                    
25[Underscore compat-dev](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0/lodash.underscore.js), and
                    
26[Underscore compat-prod](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0/lodash.underscore.min.js)
                    
                
test_stitch.coffee https://github.com/brandonbloom/stitch.git | CoffeeScript | 314 lines
                    
36    fixtureRoot + "/dependencies/zepto.js"
                    
37    fixtureRoot + "/dependencies/underscore.js"
                    
38    fixtureRoot + "/dependencies/backbone.js"
                    
                
backbone.html https://gitlab.com/e0/handsontable | HTML | 228 lines
                    
23  <script src="js/samples.js"></script>
                    
24  <script data-jsfiddle="common" src="js/backbone/lodash.underscore.js"></script>
                    
25  <script data-jsfiddle="common" src="js/backbone/backbone.js"></script>
                    
                
underscore.js https://gitlab.com/boxnia/NFU_MOVIL | JavaScript | 1464 lines
                    
1//     Underscore.js 1.8.3
                    
2//     http://underscorejs.org
                    
                
lodash.underscore.js https://gitlab.com/boxnia/NFU_MOVIL | JavaScript | 1626 lines
                    
3 * Lo-Dash 1.0.2 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.4.4 <http://underscorejs.org/>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
lodash.compat.js https://gitlab.com/boxnia/NFU_MOVIL | JavaScript | 1530 lines
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.4.4 <http://underscorejs.org/>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
index.js https://gitlab.com/boxnia/NFU_MOVIL | JavaScript | 1514 lines
                    
5 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
async.js https://gitlab.com/boxnia/NFU_MOVIL | JavaScript | 1265 lines
                    
64
                    
65    // Ported from underscore.js isObject
                    
66    var _isObject = function(obj) {
                    
155    // This accumulates the arguments passed into an array, after a given index.
                    
156    // From underscore.js (https://github.com/jashkenas/underscore/pull/2140).
                    
157    function _restParam(func, startIndex) {
                    
                
video.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1600 lines
                    
52 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
53 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
54 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
182 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
183 * Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
                    
184 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
270 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
271 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
272 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
387 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
388 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
389 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
video.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1631 lines
                    
52 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
53 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
54 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
115 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
116 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
117 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1470 lines
                    
1//     Underscore.js 1.8.2
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1475 lines
                    
1//     Underscore.js 1.8.1
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1472 lines
                    
1//     Underscore.js 1.8.0
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1415 lines
                    
1//     Underscore.js 1.7.0
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1339 lines
                    
1//     Underscore.js 1.6.0
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1276 lines
                    
1//     Underscore.js 1.5.2
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1246 lines
                    
1//     Underscore.js 1.5.1
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1226 lines
                    
1//     Underscore.js 1.4.4
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1200 lines
                    
1//     Underscore.js 1.4.2
                    
2//     http://underscorejs.org
                    
                
three.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 2876 lines
                    
24
                    
25// based on https://github.com/documentcloud/underscore/blob/bf657be243a075b5e72acc8a83e6f12a564d8f55/underscore.js#L767
                    
26THREE.extend = function ( obj, source ) {
                    
                
session.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 423 lines
                    
4 * session.js is freely distributable under the MIT license.
                    
5 * Portions of session.js are inspired or borrowed from Underscore.js, and quirksmode.org demo javascript.
                    
6 * This version uses google's jsapi library for location services.
                    
                
react-slick.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1641 lines
                    
153	 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
154	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
155	 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
228	 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
229	 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
230	 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
268	 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
269	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
270	 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
parse.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1507 lines
                    
9 *
                    
10 * Includes: Underscore.js
                    
11 * Copyright 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
                    
17}(this));
                    
18//     Underscore.js 1.4.4
                    
19//     http://underscorejs.org
                    
                
lodash.compat.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1489 lines
                    
5 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1519 lines
                    
5 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1646 lines
                    
3 * Lo-Dash 2.4.2 (Custom Build) <https://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1646 lines
                    
3 * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1650 lines
                    
3 * Lo-Dash 2.4.0 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1648 lines
                    
3 * Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1649 lines
                    
3 * Lo-Dash 2.2.1 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1650 lines
                    
3 * Lo-Dash 2.1.0 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1651 lines
                    
3 * Lo-Dash 1.3.1 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.4.4 <http://underscorejs.org/>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
lodash.underscore.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1626 lines
                    
3 * Lo-Dash 1.0.1 (Custom Build) <http://lodash.com/>
                    
4 * Build: `lodash underscore -o ./dist/lodash.underscore.js`
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
5 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
                    
6 * Based on Underscore.js 1.4.4 <http://underscorejs.org/>
                    
7 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
kinetic.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1439 lines
                    
143        /*
                    
144         * cherry-picked utilities from underscore.js
                    
145         */
                    
                
jquery.gridster.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1559 lines
                    
338
                    
339    /* Delay, debounce and throttle functions taken from underscore.js
                    
340     *
                    
                
jquery.gridster.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1602 lines
                    
319;(function(window, undefined) {
                    
320    /* Debounce and throttle functions taken from underscore.js */
                    
321    window.debounce = function(func, wait, immediate) {
                    
                
elastic.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1574 lines
                    
22
                    
23    // from underscore.js, used in utils
                    
24    ArrayProto = Array.prototype, 
                    
72
                    
73  /* Utility methods, most of which are pulled from underscore.js. */
                    
74  
                    
                
clappr.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1680 lines
                    
65 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
66 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
67 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
110 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
111 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
112 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
139 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
140 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
141 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
173 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
174 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
175 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
411 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
412 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
413 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
clappr.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1588 lines
                    
23 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
24 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
25 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
68 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
69 * Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
                    
70 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
113 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
114 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
115 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
149 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
150 * Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
                    
151 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
389 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
390 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
391 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
clappr.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1583 lines
                    
23 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
24 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
25 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
68 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
69 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
70 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
113 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
114 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
115 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
149 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
150 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
151 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
389 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
390 * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
                    
391 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
async.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1216 lines
                    
155    // This accumulates the arguments passed into an array, after a given index.
                    
156    // From underscore.js (https://github.com/jashkenas/underscore/pull/2140).
                    
157    function _restParam(func, startIndex) {
                    
                
ZSchema-browser.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1436 lines
                    
93 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
94 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
95 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
136 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
137 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
138 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
212 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
213 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
214 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
261 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
                    
262 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
                    
263 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
                    
                
template-micro-coverage.js https://gitlab.com/Mirros/cdnjs | JavaScript | 318 lines
                    
28};
                    
29_yuitest_coverage["build/template-micro/template-micro.js"].code=["YUI.add('template-micro', function (Y, NAME) {","","/*jshint expr:true */","","/**","Adds the `Y.Template.Micro` template engine, which provides fast, simple","string-based micro-templating similar to ERB or Underscore templates.","","@module template","@submodule template-micro","@since 3.8.0","**/","","/**","Fast, simple string-based micro-templating engine similar to ERB or Underscore","templates.","","@class Template.Micro","@static","@since 3.8.0","**/","","// This code was heavily inspired by Underscore.js's _.template() method","// (written by Jeremy Ashkenas), which was in turn inspired by John Resig's","// micro-templating implementation.","","var Micro = Y.namespace('Template.Micro');","","/**","Default options for `Y.Template.Micro`.","","@property {Object} options","","    @param {RegExp} [options.code] Regex that matches code blocks like","        `<% ... %>`.","    @param {RegExp} [options.escapedOutput] Regex that matches escaped output","        tags like `<%= ... %>`.","    @param {RegExp} [options.rawOutput] Regex that matches raw output tags like","        `<%== ... %>`.","    @param {RegExp} [options.stringEscape] Regex that matches characters that","        need to be escaped inside single-quoted JavaScript string literals.","    @param {Object} [options.stringReplace] Hash that maps characters matched by","        `stringEscape` to the strings they should be replaced with. If you add","        a character to the `stringEscape` regex, you need to add it here too or","        it will be replaced with an empty string.","","@static","@since 3.8.0","**/","Micro.options = {","    code         : /<%([\\s\\S]+?)%>/g,","    escapedOutput: /<%=([\\s\\S]+?)%>/g,","    rawOutput    : /<%==([\\s\\S]+?)%>/g,","    stringEscape : /\\\\|'|\\r|\\n|\\t|\\u2028|\\u2029/g,","","    stringReplace: {","        '\\\\'    : '\\\\\\\\',","        \"'\"     : \"\\\\'\",","        '\\r'    : '\\\\r',","        '\\n'    : '\\\\n',","        '\\t'    : '\\\\t',","        '\\u2028': '\\\\u2028',","        '\\u2029': '\\\\u2029'","    }","};","","/**","Compiles a template string into a JavaScript function. Pass a data object to the","function to render the template using the given data and get back a rendered","string.","","Within a template, use `<%= ... %>` to output the value of an expression (where","`...` is the JavaScript expression or data variable to evaluate). The output","will be HTML-escaped by default. To output a raw value without escaping, use","`<%== ... %>`, but be careful not to do this with untrusted user input.","","To execute arbitrary JavaScript code within the template without rendering its","output, use `<% ... %>`, where `...` is the code to be executed. This allows the","use of if/else blocks, loops, function calls, etc., although it's recommended","that you avoid embedding anything beyond basic flow control logic in your","templates.","","Properties of the data object passed to a template function are made available","on a `data` variable within the scope of the template. So, if you pass in","the object `{message: 'hello!'}`, you can print the value of the `message`","property using `<%= data.message %>`.","","@example","","    YUI().use('template-micro', function (Y) {","        var template = '<ul class=\"<%= data.classNames.list %>\">' +","                           '<% Y.Array.each(data.items, function (item) { %>' +","                               '<li><%= item %></li>' +","                           '<% }); %>' +","                       '</ul>';","","        // Compile the template into a function.","        var compiled = Y.Template.Micro.compile(template);","","        // Render the template to HTML, passing in the data to use.","        var html = compiled({","            classNames: {list: 'demo'},","            items     : ['one', 'two', 'three', 'four']","        });","    });","","@method compile","@param {String} text Template text to compile.","@param {Object} [options] Options. If specified, these options will override the","    default options defined in `Y.Template.Micro.options`. See the documentation","    for that property for details on which options are available.","@return {Function} Compiled template function. Execute this function and pass in","    a data object to render the template with the given data.","@static","@since 3.8.0","**/","Micro.compile = function (text, options) {","    /*jshint evil:true */","","    var blocks     = [],","        tokenClose = \"\\uffff\",","        tokenOpen  = \"\\ufffe\",","        source;","","    options = Y.merge(Micro.options, options);","","    // Parse the input text into a string of JavaScript code, with placeholders","    // for code blocks. Text outside of code blocks will be escaped for safe","    // usage within a double-quoted string literal.","    //","    // $b is a blank string, used to avoid creating lots of string objects.","    //","    // $v is a function that returns the supplied value if the value is truthy","    // or the number 0, or returns an empty string if the value is falsy and not","    // 0.","    //","    // $t is the template string.","    source = \"var $b='', $v=function (v){return v || v === 0 ? v : $b;}, $t='\" +","","        // U+FFFE and U+FFFF are guaranteed to represent non-characters, so no","        // valid UTF-8 string should ever contain them. That means we can freely","        // strip them out of the input text (just to be safe) and then use them","        // for our own nefarious purposes as token placeholders!","        //","        // See http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Noncharacters","        text.replace(/\\ufffe|\\uffff/g, '')","","        .replace(options.rawOutput, function (match, code) {","            return tokenOpen + (blocks.push(\"'+\\n$v(\" + code + \")+\\n'\") - 1) + tokenClose;","        })","","        .replace(options.escapedOutput, function (match, code) {","            return tokenOpen + (blocks.push(\"'+\\n$e($v(\" + code + \"))+\\n'\") - 1) + tokenClose;","        })","","        .replace(options.code, function (match, code) {","            return tokenOpen + (blocks.push(\"';\\n\" + code + \"\\n$t+='\") - 1) + tokenClose;","        })","","        .replace(options.stringEscape, function (match) {","            return options.stringReplace[match] || '';","        })","","        // Replace the token placeholders with code.","        .replace(/\\ufffe(\\d+)\\uffff/g, function (match, index) {","            return blocks[parseInt(index, 10)];","        })","","        // Remove noop string concatenations that have been left behind.","        .replace(/\\n\\$t\\+='';\\n/g, '\\n') +","","        \"';\\nreturn $t;\";","","    // If compile() was called from precompile(), return precompiled source.","    if (options.precompile) {","        return \"function (Y, $e, data) {\\n\" + source + \"\\n}\";","    }","","    // Otherwise, return an executable function.","    return this.revive(new Function('Y', '$e', 'data', source));","};","","/**","Precompiles the given template text into a string of JavaScript source code that","can be evaluated later in another context (or on another machine) to render the","template.","","A common use case is to precompile templates at build time or on the server,","then evaluate the code on the client to render a template. The client only needs","to revive and render the template, avoiding the work of the compilation step.","","@method precompile","@param {String} text Template text to precompile.","@param {Object} [options] Options. If specified, these options will override the","    default options defined in `Y.Template.Micro.options`. See the documentation","    for that property for details on which options are available.","@return {String} Source code for the precompiled template.","@static","@since 3.8.0","**/","Micro.precompile = function (text, options) {","    options || (options = {});","    options.precompile = true;","","    return this.compile(text, options);","};","","/**","Compiles and renders the given template text in a single step.","","This can be useful for single-use templates, but if you plan to render the same","template multiple times, it's much better to use `compile()` to compile it once,","then simply call the compiled function multiple times to avoid recompiling.","","@method render","@param {String} text Template text to render.","@param {Object} data Data to pass to the template.","@param {Object} [options] Options. If specified, these options will override the","    default options defined in `Y.Template.Micro.options`. See the documentation","    for that property for details on which options are available.","@return {String} Rendered result.","@static","@since 3.8.0","**/","Micro.render = function (text, data, options) {","    return this.compile(text, options)(data);","};","","/**","Revives a precompiled template function into a normal compiled template function","that can be called to render the template. The precompiled function must already","have been evaluated to a function -- you can't pass raw JavaScript code to","`revive()`.","","@method revive","@param {Function} precompiled Precompiled template function.","@return {Function} Revived template function, ready to be rendered.","@static","@since 3.8.0","**/","Micro.revive = function (precompiled) {","    return function (data) {","        data || (data = {});","        return precompiled.call(data, Y, Y.Escape.html, data);","    };","};","","","}, '@VERSION@', {\"requires\": [\"escape\"]});"];
                    
30_yuitest_coverage["build/template-micro/template-micro.js"].lines = {"1":0,"27":0,"50":0,"117":0,"120":0,"125":0,"138":0,"149":0,"153":0,"157":0,"161":0,"166":0,"175":0,"176":0,"180":0,"201":0,"202":0,"203":0,"205":0,"225":0,"226":0,"241":0,"242":0,"243":0,"244":0};
                    
56
                    
57// This code was heavily inspired by Underscore.js's _.template() method
                    
58// (written by Jeremy Ashkenas), which was in turn inspired by John Resig's
                    
                
template-micro-coverage.js https://gitlab.com/Mirros/cdnjs | JavaScript | 288 lines
                    
28};
                    
29_yuitest_coverage["build/template-micro/template-micro.js"].code=["YUI.add('template-micro', function (Y, NAME) {","","/**","Adds the `Y.Template.Micro` template engine, which provides fast, simple","string-based micro-templating similar to ERB or Underscore templates.","","@module template","@submodule template-micro","@since 3.8.0","**/","","/**","Fast, simple string-based micro-templating engine similar to ERB or Underscore","templates.","","@class Template.Micro","@static","@since 3.8.0","**/","","// This code was heavily inspired by Underscore.js's _.template() method","// (written by Jeremy Ashkenas), which was in turn inspired by John Resig's","// micro-templating implementation.","","var Micro = Y.namespace('Template.Micro');","","/**","Default options for `Y.Template.Micro`.","","@property {Object} options","","    @param {RegExp} [options.code] Regex that matches code blocks like","        `<% ... %>`.","    @param {RegExp} [options.escapedOutput] Regex that matches escaped output","        tags like `<%= ... %>`.","    @param {RegExp} [options.rawOutput] Regex that matches raw output tags like","        `<%== ... %>`.","    @param {RegExp} [options.stringEscape] Regex that matches characters that","        need to be escaped inside single-quoted JavaScript string literals.","","@static","@since 3.8.0","**/","Micro.options = {","    code         : /<%([\\s\\S]+?)%>/g,","    escapedOutput: /<%=([\\s\\S]+?)%>/g,","    rawOutput    : /<%==([\\s\\S]+?)%>/g,","    stringEscape : /\\\\|'|\\r|\\n|\\t|\\u2028|\\u2029/g","};","","/**","Compiles a template string into a JavaScript function. Pass a data object to the","function to render the template using the given data and get back a rendered","string.","","Within a template, use `<%= ... %>` to output the value of an expression (where","`...` is the JavaScript expression or data variable to evaluate). The output","will be HTML-escaped by default. To output a raw value without escaping, use","`<%== ... %>`, but be careful not to do this with untrusted user input.","","To execute arbitrary JavaScript code within the template without rendering its","output, use `<% ... %>`, where `...` is the code to be executed. This allows the","use of if/else blocks, loops, function calls, etc., although it's recommended","that you avoid embedding anything beyond basic flow control logic in your","templates.","","Properties of the data object passed to a template function are made available","on a `data` variable within the scope of the template. So, if you pass in","the object `{message: 'hello!'}`, you can print the value of the `message`","property using `<%= data.message %>`.","","@example","","    YUI().use('template-micro', function (Y) {","        var template = '<ul class=\"<%= data.classNames.list %>\">' +","                           '<% Y.Array.each(data.items, function (item) { %>' +","                               '<li><%= item %></li>' +","                           '<% }); %>' +","                       '</ul>';","","        // Compile the template into a function.","        var compiled = Y.Template.Micro.compile(template);","","        // Render the template to HTML, passing in the data to use.","        var html = compiled({","            classNames: {list: 'demo'},","            items     : ['one', 'two', 'three', 'four']","        });","    });","","@method compile","@param {String} text Template text to compile.","@param {Object} [options] Options. If specified, these options will override the","    default options defined in `Y.Template.Micro.options`. See the documentation","    for that property for details on which options are available.","@return {Function} Compiled template function. Execute this function and pass in","    a data object to render the template with the given data.","@static","@since 3.8.0","**/","Micro.compile = function (text, options) {","    var blocks     = [],","        tokenClose = \"\\uffff\",","        tokenOpen  = \"\\ufffe\",","        source;","","    options = Y.merge(Micro.options, options);","","    // Parse the input text into a string of JavaScript code, with placeholders","    // for code blocks. Text outside of code blocks will be escaped for safe","    // usage within a double-quoted string literal.","    source = \"var $b='',$t='\" +","","        // U+FFFE and U+FFFF are guaranteed to represent non-characters, so no","        // valid UTF-8 string should ever contain them. That means we can freely","        // strip them out of the input text (just to be safe) and then use them","        // for our own nefarious purposes as token placeholders!","        //","        // See http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Noncharacters","        text.replace(/\\ufffe|\\uffff/g, '')","","        .replace(options.rawOutput, function (match, code) {","            return tokenOpen + (blocks.push(\"'+\\n((\" + code + \")||$b)+\\n'\") - 1) + tokenClose;","        })","","        .replace(options.escapedOutput, function (match, code) {","            return tokenOpen + (blocks.push(\"'+\\n$e((\" + code + \")||$b)+\\n'\") - 1) + tokenClose;","        })","","        .replace(options.code, function (match, code) {","            return tokenOpen + (blocks.push(\"';\\n\" + code + \"\\n$t+='\") - 1) + tokenClose;","        })","","        .replace(options.stringEscape, \"\\\\$&\")","","        // Replace the token placeholders with code.","        .replace(/\\ufffe(\\d+)\\uffff/g, function (match, index) {","            return blocks[parseInt(index, 10)];","        })","","        // Remove noop string concatenations that have been left behind.","        .replace(/\\n\\$t\\+='';\\n/g, '\\n') +","","        \"';\\nreturn $t;\";","","    // If compile() was called from precompile(), return precompiled source.","    if (options.precompile) {","        return \"function (Y, $e, data) {\\n\" + source + \"\\n}\";","    }","","    // Otherwise, return an executable function.","    return this.revive(new Function('Y', '$e', 'data', source));","};","","/**","Precompiles the given template text into a string of JavaScript source code that","can be evaluated later in another context (or on another machine) to render the","template.","","A common use case is to precompile templates at build time or on the server,","then evaluate the code on the client to render a template. The client only needs","to revive and render the template, avoiding the work of the compilation step.","","@method precompile","@param {String} text Template text to precompile.","@param {Object} [options] Options. If specified, these options will override the","    default options defined in `Y.Template.Micro.options`. See the documentation","    for that property for details on which options are available.","@return {String} Source code for the precompiled template.","@static","@since 3.8.0","**/","Micro.precompile = function (text, options) {","    options || (options = {});","    options.precompile = true;","","    return this.compile(text, options);","};","","/**","Compiles and renders the given template text in a single step.","","This can be useful for single-use templates, but if you plan to render the same","template multiple times, it's much better to use `compile()` to compile it once,","then simply call the compiled function multiple times to avoid recompiling.","","@method render","@param {String} text Template text to render.","@param {Object} data Data to pass to the template.","@param {Object} [options] Options. If specified, these options will override the","    default options defined in `Y.Template.Micro.options`. See the documentation","    for that property for details on which options are available.","@return {String} Rendered result.","@static","@since 3.8.0","**/","Micro.render = function (text, data, options) {","    return this.compile(text, options)(data);","};","","/**","Revives a precompiled template function into a normal compiled template function","that can be called to render the template. The precompiled function must already","have been evaluated to a function -- you can't pass raw JavaScript code to","`revive()`.","","@method revive","@param {Function} precompiled Precompiled template function.","@return {Function} Revived template function, ready to be rendered.","@static","@since 3.8.0","**/","Micro.revive = function (precompiled) {","    return function (data) {","        data || (data = {});","        return precompiled.call(data, Y, Y.Escape.html, data);","    };","};","","","}, '@VERSION@', {\"requires\": [\"escape\"]});"];
                    
30_yuitest_coverage["build/template-micro/template-micro.js"].lines = {"1":0,"25":0,"44":0,"101":0,"102":0,"107":0,"112":0,"123":0,"127":0,"131":0,"138":0,"147":0,"148":0,"152":0,"173":0,"174":0,"175":0,"177":0,"197":0,"198":0,"213":0,"214":0,"215":0,"216":0};
                    
54
                    
55// This code was heavily inspired by Underscore.js's _.template() method
                    
56// (written by Jeremy Ashkenas), which was in turn inspired by John Resig's
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1257 lines
                    
1//     Underscore.js 1.5.0
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1189 lines
                    
1//     Underscore.js 1.4.1
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1186 lines
                    
1//     Underscore.js 1.4.0
                    
2//     http://underscorejs.org
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1059 lines
                    
1//     Underscore.js 1.3.3
                    
2//     (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1059 lines
                    
1//     Underscore.js 1.3.2
                    
2//     (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 999 lines
                    
1//     Underscore.js 1.3.1
                    
2//     (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
underscore.js https://gitlab.com/Mirros/cdnjs | JavaScript | 990 lines
                    
1//     Underscore.js 1.3.0
                    
2//     (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
                    
                
 

Source

Language