Created
January 4, 2012 18:11
-
-
Save tkarpinski/1561268 to your computer and use it in GitHub Desktop.
template for js file using jslint and jquery namespace
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
/// <reference path="jquery-1.7.1.js"/> | |
/// <reference path="jquery.namespace.js"/> | |
/*globals jQuery, window, document*/ | |
///<summary> | |
///template for new js file in visual studio and jslint | |
///</summary> | |
jQuery.namespace('my.namespace'); | |
my.namespace = (function () { | |
'use strict'; | |
var $ = jQuery; | |
$(function () { | |
/* All document.ready stuff goes in here */ | |
}); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment