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 http = require("http"); | |
var lastPoint = ""; | |
//Print out error message | |
function printError(error) { | |
console.error(error.message); | |
} | |
function get(url) { | |
var request = http.get(url, function(response) { |
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 http = require("http"); | |
var lastPoint = ""; | |
var lastPoint2 = ""; | |
//Print out error message | |
function printError(error) { | |
console.error(error.message); | |
} | |
function get(url) { |
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
Info: | |
===== | |
These snippets help me remember how to use Polymer syntax. Many come from the Polycasts YouTube videos. | |
Message me @qtrandev in the Polymer Slack or email qtrandev@gmail.com and I'll message you links I know. | |
Getting started: | |
================ | |
bower init | |
bower install --save Polymer/polymer#^1.0.0 |