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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>fast page</title> | |
<link rel="stylesheet" type="text/css" href='http://company.cdn.com/combo? | |
1.2/rollout/app.css'> | |
</head> | |
<body class="yui3-skin-sam"> | |
<script> | |
YUI_config = { |
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
YUI().use('tabview', function(Y) { | |
var config = Y.config.app || {}; | |
if (config.tabview) { | |
new Y.TabView({ | |
srcNode: config.tabview | |
}); | |
} | |
}); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>fast page</title> | |
<link type="text/css" href='http://company.cdn.com/combo? | |
1.1/rollout/app.css'> | |
</head> | |
<body class="yui3-skin-sam"> | |
<script type="text/javascript"> |
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 http = require('http'); | |
var YUI = require('yui3').YUI; | |
// persistent Y | |
var global_Y = YUI({ | |
fetchCSS: false, | |
useConsoleOutput: false | |
}); | |
http.createServer(function (req, res) { |
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
#!/usr/bin/env node | |
var YUI = require("yui3").YUI; | |
YUI({ | |
debug: true | |
}).use('node', 'io', function(Y) { | |
//Messing with the main page.. | |
Y.one('title').set('innerHTML', 'Digg News Headlines'); |
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
// This is pure craziness, injecting an iframe in a page that has | |
// a fixed canonical domain will cause the dynamic iframe to fail | |
// to access the parent window. | |
// As a workaround, we can fix the domain in the dynamic iframe for IE. | |
(function() { | |
var inject = function(d, w) { | |
var ie = w.navigator.userAgent.match(/MSIE\s/), | |
i = d.createElement("iframe"), | |
n = (ie && (d.domain != d.location.host) ? ("<scri" + "pt>try{document.domain='#d';}catch(e){}</scr" + "ipt>").replace("#d", d.domain) : ""), | |
f = ("<!doctype html><html><head>" + n + "<sc" + "ript src='#c'></scri" + "pt></head><body></body></html>").replace("#c", "http://your-company.com/your-app-controller.js"), |
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
Searching 3859 files for ""condition": {" (case sensitive) | |
/Users/caridy/repo/yui3/src/app/meta/app.json: | |
27 | |
28 "app-transitions-native": { | |
29: "condition": { | |
30 "trigger": "app-transitions", | |
31 "test" : "app-transitions-test.js" | |
/Users/caridy/repo/yui3/src/autocomplete/meta/autocomplete.json: |
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
'autocomplete-plugin': | |
{ requires: [ 'autocomplete-list', 'node-pluginhost' ], | |
name: 'autocomplete-plugin', | |
type: 'js', | |
path: 'autocomplete-plugin/autocomplete-plugin-min.js', | |
supersedes: undefined, | |
ext: false, | |
_parsed: false, | |
langCache: undefined, | |
expanded_map: |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<script src="http://yui.yahooapis.com/combo?3.7.2/yui-base/yui-base.js&3.7.2/loader-base/loader-base.js"></script> | |
<script> | |
YUI.add('loader-app', function (Y) { | |
YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || { | |
"json-stringify":{"requires":["yui-base"]}, | |
"oop":{"requires":["yui-base"]} |
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
YUI.add('mojito', function(Y, NAME) { | |
Y.namespace('mojito'); | |
}, '0.1.0', {requires: []}); |