Skip to content

Instantly share code, notes, and snippets.

View sanhuang's full-sized avatar

Taz Huang sanhuang

View GitHub Profile
@sanhuang
sanhuang / gist:ffa97a68ac348e867aa7
Created February 25, 2016 13:04 — forked from liamcurry/gist:2597326
Vanilla JS vs jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
var LINE = require('./line.js');
var line = new LINE();
var email = 'your email';
var password = 'your password';
line.login(email, password, function(error, result) {
if (error) {
return;
}