This file contains hidden or 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
using SquishIt.Framework.Css; | |
using SquishIt.Framework.JavaScript; | |
namespace SquishIt.Framework | |
{ | |
public class Bundle | |
{ | |
public static IJavaScriptBundle JavaScript(bool forceRelease = false) | |
{ | |
return new JavaScriptBundle(forceRelease); |
This file contains hidden or 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 Browser Plugin | |
* Version 2.4 | |
* 2010-02-03 | |
* URL: http://jquery.thewikies.com/browser | |
* Description: jQuery Browser Plugin extends browser detection capabilities and can assign browser selectors to CSS classes. | |
* Author: Nate Cavanaugh, Minhchau Dang, Jonathan Neal, & Gregory Waxman | |
* Copyright: Copyright (c) 2008 Jonathan Neal under dual MIT/GPL license. | |
* JSLint: This javascript file passes JSLint verification. |
This file contains hidden or 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
var lookup = {} | |
var testObj = {'test':true}; | |
lookup[testObj] = expensiveFunc(testObj); |
This file contains hidden or 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 patch for HTML5 elements using innerShiv by https://github.com/andy-clusta | |
(function ($) { | |
var init = jQuery.fn.init; rootjQuery = jQuery(document); | |
// http://jdbartlett.github.com/innershiv | WTFPL License | |
var innerShiv = (function() { | |
var div, frag, | |
inaTable = /^<(tbody|tr|td|col|colgroup|thead|tfoot)/i, | |
remptyTag = /(<([\w:]+)[^>]*?)\/>/g, | |
rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>JavaScript Assignment 3: Jonathan Waxman</title> | |
</head> | |
<body> | |
<table border="1" width="100%" height="550"> | |
<tr> | |
<th colspan="2" bgcolor="navy" style="color:white"> | |
<h1>JW's Electronic Post - eCommerce</h1> |
This file contains hidden or 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
passport = require 'passport' | |
googOID = require('passport-google').Strategy | |
steamOID = require('passport-steam').Strategy | |
passport.use new steamOID | |
returnURL: 'http://localhost:3000/auth/steam/return' | |
, realm: 'http://localhost:3000' | |
, () -> console.log arguments | |
passport.use new googOID |
This file contains hidden or 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
// See comments below. | |
// This code sample and justification brought to you by | |
// Isaac Z. Schlueter, aka isaacs | |
// standard style | |
var a = "ape", | |
b = "bat", | |
c = "cat", | |
d = "dog", |
This file contains hidden or 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
//Comma first, used by both Isaac Z. Schlueter and TJ Holowaychuk | |
//modified with the opening bracket on the same line as declaration | |
//Variable assignment and object property value right aligned | |
var objectStyle = { | |
property1 : 'test' | |
, prop2 : 3 | |
, property : 4 | |
}; |
This file contains hidden or 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
D = Democrat | |
R = Republican | |
D/R = Swing state, went D most recently | |
R/D = Swing state, went R most recently | |
# = http://www.bradycampaign.org/xshare/stateleg/scorecard/2011/2011_Brady_Campaign_State_Scorecard_Rankings.pdf | |
X = Murder in the 80's | |
I = Murder in the 90's | |
Y = Murder in the 00's | |
Z = Murder in the 10's |
OlderNewer