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
}).use('gallery-event-nav-keys', | |
'echofin-modal', | |
'echofin-loadscreen', | |
'echofin-autosave', | |
'echofin-component-menu', | |
/*'echofin-component-select',*/ | |
'echofin-recyclebin', | |
'echofin-sidebar', | |
'echofin-ui', | |
'echofin-form', |
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
new Y.Test.Case({ | |
name : "Y.isEmpty Tests", | |
"boolean should be false" : function() { | |
Y.Assert.isFalse(Y.isEmpty(false)); | |
}, | |
"empty string should be true" : function() { | |
Y.Assert.isTrue(Y.isEmpty("")); | |
}, |
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
Y.on( | |
"click", | |
function (e) { | |
var function_code = e.target.get("id").split("-")[1]; | |
Y.log('handling click...' + function_code, "info", log_key); | |
var container = Y.one("#manage_action"); | |
Y.io( | |
menu_config["base_url"] + function_code, |
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 moveIt(checkbox) { | |
var pos = checkbox.value, | |
moz = document.getElementById('moz'), | |
moz1 = document.getElementById('moz1'), | |
moz2 = document.getElementById('moz2'), | |
moz3 = document.getElementById('moz3'); | |
switch (pos) { | |
case "nw" : | |
moz.style.visibility = (checkbox.checked === true) ? "visible" : "hidden"; |
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 Foo() { | |
/* constructor stuff */ | |
} | |
// apply a class prototype that includes private and public methods | |
(function () { | |
function private(x) { | |
return x + 1; | |
} |