Skip to content

Instantly share code, notes, and snippets.

Spencer Carney spencercarnage

View GitHub Profile
View core.test.js
//Wait for relevant code bits to load before starting any tests
define(['core.js'], function( core ) {
module("Core Tests");
test("Test core methods", function(){
equals( 1, 1, "A trivial test");
ok( true, "Another trivial test");
View application.js
if (!Modernizr.input.placeholder){
if (!Modernizr.textarea.placeholder){
You can’t perform that action at this time.