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
YUI.add('dav', function(Y) { | |
Y.Dav = function() { | |
function _func(args) { | |
return true; | |
} | |
var _foo = "bar"; | |
return { | |
_func : myFunction, |
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
YUI({ base : 'js/yahoo/', filter : 'raw' }).use('Config', 'Lib1', 'Lib2', function(Y) { | |
var config = new Y.Config(); | |
var lib1 = new Y.Lib1(config); | |
var lib2 = new Y.Lib2(config); | |
}); |
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
YUI.add('Config', function(Y) { | |
var Config = { | |
data : null, | |
defaultConfig : { | |
test : 'what' | |
}, | |
read : function() { | |
... | |
}, |
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
YUI.add('Lib', function(Y) { | |
Y.Lib = function() { | |
var foo = Y.Config.data.bar | |
}; | |
}, '.01', { requires : [ 'Config' ] }); |
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
YUI().use('Config', 'Lib', function(Y) { | |
var lib = new Y.Lib(); | |
}); |
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
YUI().use('node', function(Y) { | |
YUI.namespace("Test"); | |
YUI.Test = function() { | |
var shared = 1; | |
function increase() { | |
shared++; | |
} | |
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
YAHOO.yv.props = { | |
"is_home" : true, | |
"bcrumb" : "64871846ad00b86e77cf1fc858f6762f,1,1233598320", | |
"spaceid" : "792730243", | |
"lang" : "en-US", | |
"region" : "us", | |
"videos" : { | |
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
var props = YAHOO.yv.props; | |
if(props.is_home) { | |
//do home page specific stuff here | |
} |
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
YUI.add('config', function(Y) { | |
Y.Config = function() { | |
var conf; | |
function _parse() { | |
try { | |
conf = Y.JSON.parse("{ \"foo\" : 1, \"foo2\" : 2 }"); | |
} catch(e) { | |
console.log("Error Parsing"); | |
} |
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
<thead> | |
<tr align="center"> | |
<td class="thead" align="$stylevar[left]" colspan="2">$vbphrase[forum]</td> | |
<td class="thead">$vbphrase[last_post]</td> | |
<td class="thead">$vbphrase[threads]</td> | |
<td class="thead">$vbphrase[posts]</td> | |
</tr> | |
</thead> |
OlderNewer