/*
Copyright 2012 Igor Vaynberg
Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in
compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
*/
(function (e) {
"undefined" == typeof e.fn.each2 && e.fn.extend({
each2: function (g) {
for (var i = e([0]), m = -1, s = this.length; ++m < s && (i.context = i[0] = this[m]) && !1 !== g.call(i[0], m, i););
return this
}
})
})(jQuery);
(function (e, g) {
function i(a, b) {
var c = 0,
d = b.length,
j;
if ("undefined" === typeof a) return -1;
if (a.constructor === String) for (; c < d; c += 1) {
if (0 === a.localeCompare(b[c])) return c
} else for (; c < d; c += 1) if (j = b[c], j.constructor === String) {
if (0 === j.localeCompare(a)) return c
} else if (j === a) return c;
return -1
}
function m(a, b) {
return a === b ? !0 : a === g || b === g || null === a || null === b ? !1 : a.constructor === String ? 0 === a.localeCompare(b) : b.constructor === String ? 0 === b.localeCompare(a) : !1
}
function s(a, b) {
var c, d, j;
if (null === a || 1 > a.length) return [];
c = a.split(b);
d = 0;
for (j = c.length; d < j; d += 1) c[d] = e.trim(c[d]);
return c
}
function A(a, b, c) {
var c = c || g,
d;
return function () {
var j = arguments;
window.clearTimeout(d);
d...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.