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 Base64 = (function () { | |
var ALPHA = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | |
var Base64 = function () {}; | |
var _encode = function (value) { | |
if (typeof(value) !== 'number') { | |
throw 'Value is not number!'; |
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
/** | |
* Licensed under the MIT license by Alexey Karunos (https://github.com/alkaruno) | |
*/ | |
(function ($) { | |
$.fn.disableIfEmpty = function (elementsToObserve) { | |
var elementToDisable, disableElement; | |
return this.each(function () { | |
elementToDisable = $(this); | |
disableElement = function () { | |
var hasEmptyField = false; |
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
/** | |
* Widgets Library | |
* @version 0.1 | |
* @author Alexey Karunos ([email protected]) | |
* @example | |
* var widgets = new Widgets('http://site.com/widgets/'); | |
* widgets.show('userinfo'); | |
*/ | |
; | |
function Widgets(urlPrefix, urlSuffix) { |