- Wrong copyright. Should be: "© 2012 Yahoo! Inc." not: "© 2012 YUI Blog"
- Search page is unusable: http://cl.ly/IiYS
- Looks like the content is not inside a
"yui3-u"
node: http://www.yuiblog.com/blog/?s=open+hours
- Looks like the content is not inside a
- Linen texture should only be at the lowest layer of the design (I don't care that iOS uses it for the notification sheets, they did it wrong :)
- Home page's heading alignments are off:
- Home page: http://cl.ly/Ijqg
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
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
<html> | |
<head> | |
<script src="http://yui.yahooapis.com/3.6.0pr3/build/yui/yui-min.js"></script> | |
</head> | |
<body> | |
<script> | |
// As the child application | |
YUI({ |
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
/* | |
Usage: | |
var grid = new Grid({ | |
units: [ | |
'1/2', | |
'1/4', | |
'1/4' | |
], |
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
#!/bin/bash | |
# Open iPhone Simulator on default location for XCode 4.3 if found | |
[[ -d /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/ ]] && | |
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app | |
# Open iPhone Simulator on default location for XCode 4.2 if found | |
[[ -d /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/ ]] && | |
open /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app |
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
// Right now, Y.DataTable is only a namespace. But I want to be able to say new Y.DataTable({...}); | |
// We can do it. We have the technology. | |
// Step 1. Capture all the properties of the Y.DataTable namespace | |
// Y.merge creates a shallow copy of an object, and since Y.DataTable is just a namespace object, | |
// this works like a champ. You could now say new Stuff.Base({...}) to create a DataTable.Base | |
// instance. | |
var Stuff = Y.merge(Y.DataTable); | |
// Step 2. Replace the Y.DataTable namespace with a working DataTable.Base subclass |
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
.yui3-overlay-pointing {} | |
.yui3-overlay-pointer { | |
position: absolute; | |
display: block; | |
width: 0px; | |
height: 0px; | |
border-style: solid; | |
border-width: 10px; | |
} | |
.yui3-overlay-pointing-tl > .yui3-widget-stdmod, |
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
// Step 1. global definition | |
function Map(config) { | |
this._init(config); | |
} | |
Map.prototype = { | |
_container: null, | |
_init: function (config) { | |
this._container = document.getElementById(config.container); |
NewerOlder