Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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