This file contains hidden or 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
var Ajax = function (url, callback, where) { | |
"use strict"; | |
var _this = this; | |
_this.httpRequest = false; | |
_this.callback = callback; | |
_this.where = where; | |
_this.url = url; | |
_this.init(); | |
}; | |
Ajax.prototype = { |
This file contains hidden or 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
var myLIB = { | |
desc: 'This thing does neato stuff' | |
}; | |
myLIB.init = function (lib_type, callback) { | |
"use strict"; | |
if (typeof lib_type !== 'undefined'){ | |
renderScript(); | |
} | |
function renderScript() { |
This file contains hidden or 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
/* FormValidator Fix for IE7 & IE9 */ | |
var ie7 = $j.browser.msie && $j.browser.version=="7.0"; | |
var ie9 = $j.browser.msie && $j.browser.version=="9.0"; | |
var safari =$j.browser.safari; | |
/*--------------------------------------------------------------------------*/ | |
var FormValidator = function (form, opts) { | |
this.form = $j(form); | |
this.required = form.find('.required-entry'); |