Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
var result = fs.readFileSync(filename, "binary");
YUI({loadOptional: true})
.use('nodejs-dom', 'event', 'node', function(Y) {
var doc ='doc');
var idSelector = 'div#test-id';
var classSelector = 'div.test-case';
var idContainer =;
var classContainer =;
if(idContainer === null){
console.log('The ID Selector is null');
if(classContainer !== null){
console.log('The Class Selector is not null');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment