Skip to content

Instantly share code, notes, and snippets.

@tkarpinski
Created January 4, 2012 18:11
Show Gist options
  • Save tkarpinski/1561268 to your computer and use it in GitHub Desktop.
Save tkarpinski/1561268 to your computer and use it in GitHub Desktop.
template for js file using jslint and jquery namespace
/// <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