This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var toString = Object.prototype.toString, | |
slice = Array.prototype.slice, | |
/** | |
* determines type of passed argument | |
*/ | |
toType = function (thing) { | |
return toString.call(thing).match(/\s(\w+)/)[1].toLowerCase(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (window, undefined) { | |
var Math = window.Math, | |
a = [0, 1]; | |
if (!Math.fibonacci) { | |
Math.fibonacci = function (n) { | |
var i; | |
if (a[n] === undefined) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jQuery.getUrlVars | |
* | |
* Copyright 2013, Matthew Cobbs | |
* MIT Licensed | |
*/ | |
/*global jQuery */ | |
(function (window, $) { | |
"use strict"; |
NewerOlder