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
if (true /* MONITOR_GLOBALS */) { | |
(function(){ | |
var globals = {}; | |
var startGlobals = []; | |
for (var j in window) { | |
globals[j] = true; | |
startGlobals.push(j); | |
} | |
if (true /* PRINT_INITIAL_GLOBALS */) | |
console.log("Initial globals: "+startGlobals.sort().join(', ')); |
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
sass --style compact --watch master.scss:style.css |
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> | |
<style type="text/css"> | |
html,body{ | |
height:100%; | |
margin:0; | |
padding:0;} | |
#offset{ | |
width:100%; |
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
// single global namespace | |
var Resturaunt = (function (window, document, $, undefined) { | |
// private variables | |
var name = 'Building on Bond', | |
location = (function () { | |
// nested private variables | |
var address = { street: '112 Bond St', | |
city: 'Brooklyn', | |
state: 'NY', |
NewerOlder