This is my first experiment with Canvas and getting to draw a pattern image as a background and it works beautifully.
This file contains 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 timeout = null; | |
$(window).scroll(function () { | |
if(!timeout) { | |
timeout = setTimeout(function() { | |
clearTimeout(timeout); | |
timeout = null; | |
if ($(window).scrollTop() >= $("#navTtigger").offset().top) { | |
$("nav").addClass("fixed"); | |
} else { $("nav").removeClass("fixed"); } | |
}, 250); |
This file contains 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
$ npm install -ddd c:\connect-3.3.4.tgz | |
npm info it worked if it ends with ok | |
npm verb cli [ 'c:\\Program Files (x86)\\nodejs\\node.exe', | |
npm verb cli 'c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
npm verb cli 'install', | |
npm verb cli '-ddd', | |
npm verb cli 'c:connect-3.3.4.tgz' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm sill cache add args [ 'c:connect-3.3.4.tgz', null ] |
This file contains 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
$ npm install -ddd https://registry.npmjs.org/connect/-/connect-3.3.4.tgz | |
npm info it worked if it ends with ok | |
npm verb cli [ 'c:\\Program Files (x86)\\nodejs\\node.exe', | |
npm verb cli 'c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
npm verb cli 'install', | |
npm verb cli '-ddd', | |
npm verb cli 'https://registry.npmjs.org/connect/-/connect-3.3.4.tgz' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm sill cache add args [ 'https://registry.npmjs.org/connect/-/connect-3.3.4.tgz', |
This file contains 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
$ npm install -ddd | |
npm info it worked if it ends with ok | |
npm verb cli [ 'c:\\Program Files (x86)\\nodejs\\node.exe', | |
npm verb cli 'c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
npm verb cli 'install', | |
npm verb cli '-ddd' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm ERR! install Couldn't read dependencies | |
npm verb stack Error: ENOENT, open 'c:\Users\iwiegand.TMI\Dropbox\source\nodejs\package.json' |
This file contains 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
$ npm install connect -ddd | |
npm info it worked if it ends with ok | |
npm verb cli [ 'c:\\Program Files (x86)\\nodejs\\node.exe', | |
npm verb cli 'c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
npm verb cli 'install', | |
npm verb cli 'connect', | |
npm verb cli '-ddd' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm sill cache add args [ 'connect', null ] |