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
-- IMStatus | |
-- version 2.0, Lantrix (http://techdebug.com) | |
-- idea conceived from script by Jason Kenison "theWebGuy" Blog at: | |
-- http://www.jasonkenison.com/blog.html?id=22 | |
(* | |
Copyright (c) 2008, TechDebug.com | |
Permission to use, copy, modify, and/or distribute this software for any | |
purpose with or without fee is hereby granted, provided that the above |
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
/** | |
Simple image preloading | |
Dave Taylor http://the-taylors.org | |
Usage: | |
var images = ['img.png', 'img2.png']; | |
window.imagePreload(images, function(errorUrls){ | |
this == images; | |
}); |
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
<!-- VideoJS partial for AppiaSkeletona --> | |
<div class="video-js-box"> | |
<!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody --> | |
<video id="@Model.id" | |
class="video-js" | |
width="@Model.width" | |
height="@Model.height" | |
controls="controls" | |
preload="auto" | |
poster="@Model.image"> |
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.fn.reverse = [].reverse; |
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
/*jslint browser: true, vars: true, white: true, forin: true, sloppy: true */ | |
/*global console */ | |
var twitterRegEx = /twitter\.com\/#?!?([A-Za-z0-9_]+)[\/]?([A-Za-z0-9_]*)/; | |
var getTwitterDetails = function(twitterUrl) { | |
var matches = twitterRegEx.exec(twitterUrl); | |
if (matches){ | |
return { | |
url: twitterUrl, | |
user: matches[1], | |
list: matches[2] |
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
/* | |
* Google tracking for static files | |
*/ | |
/*jslint browser: true, vars: true, white: true, forin: true, nomen: true */ | |
/*global window, jQuery, _gaq */ | |
(function ($) { | |
"use strict"; | |
var init_tracking = function () { |
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
/** | |
* Basic debug AMD module | |
* usage: debug.log('inside coolFunc',this,arguments); | |
*/ | |
/*jslint browser: true, vars: true, white: true, forin: true */ | |
/*global define, require */ | |
(function(){ | |
'use strict'; | |
var debug = { |
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.serializeObject | |
http://stackoverflow.com/questions/1184624/serialize-form-to-json-with-jquery/1186309#1186309 | |
*/ | |
/*jslint browser: true, vars: true, white: true, forin: true */ | |
/*global define,require */ | |
(function($){ | |
'use strict'; | |
$.fn.serializeObject = function() |
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
/** | |
* Once script to make sure a function is only run once! | |
*/ | |
(function(global){ | |
function once(func) { | |
var ran = false, memo; | |
return function() { | |
if (ran) return memo; | |
ran = true; |
NewerOlder