Created — forked from davglass/gist:705123

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:710310
1 2 3 4 5 6 7 8 9 10
//<iframe id="frame">
var frame = Y.Node.getDOMNode(Y.one('#frame'));
 
YUI({
win: frame.contentWindow,
doc: frame.contentWindow.document
}).use('node', function(Frame) {
//An element inside the frame
var foo = Frame.one('#foo');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.