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
/// | |
/// Module patttern - exapmle | |
/// * public and private methods | |
/// * private properties | |
/// | |
var moduleInJavascript = function () { | |
// private property | |
var privateProperty = { | |
property: ["some", "thing", "stuff"] | |
}; |
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
"C:\Program Files (x86)\IIS Express\iisexpress.exe" /path:C:\path /port:47778 |
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
$(document).ready(function() { | |
// Handler for .ready() called. | |
}); |
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
(function($){ | |
var dialogExtensions ={ | |
oldClose: $.ui.dialog.prototype.close, | |
close: function(event){ | |
this.oldClose(event); | |
// custom code | |
} | |
}; | |
$.extend($.ui.dialog.prototype, dialogExtensions); | |
})(jQuery); |