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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://yui.yahooapis.com/combo?3.2.0/build/yui/yui.js&3.2.0/build/loader/loader.js"></script> | |
</head> | |
<body class="yui3-skin-sam yui-skin-sam"> | |
<div id="tsTest_TabStrip"> | |
<ul> | |
<li><a href="#tab1_Tab">Tab #1</a></li> | |
<li><a href="#tab2_Tab">Tab #2</a></li> |
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 express = require('express'), | |
app = express.createServer(); | |
app.configure(function () { | |
// Use our custom Handlebars-based view engine as the default. | |
app.register('.handlebars', require('./view')); | |
app.set('view engine', 'handlebars'); | |
// ... | |
}); |
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
/*global YUI:true */ | |
YUI.add("extension-view-parent", function(Y) { | |
var ViewParent; | |
ViewParent = function() {}; | |
ViewParent.ATTRS = { | |
views : { | |
value : false | |
}, | |
render : { |
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('testplugin', function(Y) { | |
var MyPlugin = Y.Base.create('testplugin', Y.Plugin.Base, [], { | |
initializer : function() { | |
this.objectProperty = { | |
def1: "foo", | |
def2: "bar" | |
} |