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
/*------------------------------------------ | |
- add arrow to function template on MAIN page | |
- add css for arrow | |
-------------------------------------------*/ | |
/*----------------------------------------------------------------------------- | |
REQUIRE | |
-----------------------------------------------------------------------------*/ | |
var yo = require('yo-yo') | |
var minixhr = require('minixhr') |
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
``` | |
//1. option | |
function foo(x) { | |
console.log(x) | |
} | |
//Function call | |
foo("Hello") // we call a function itself |
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
/*--------------------------------------------- | |
GETTING STARTED | |
----------------------------------------------*/ | |
PHONEGAP | |
http://docs.phonegap.com/getting-started/ | |
myApp/www | |
//myApp/www/Index.js |
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
000 | |
"Welcome, future programmers! We are happy to present you the new interactive | |
and most importantly a fun, simple and interesting web app that will help you | |
to learn the basics of programming. JavaScript is currently the most popular | |
and most wide spread programming language among developers around the world. This is | |
why our WizardAmigos project is focusing on teaching you this programming language. | |
JavaScript is quick and easy to learn and following this WizardAmigos program | |
you will in a few months be able to build your first web app. | |
In this program we prepared a set of video tutorials and | |
interactive exercises that will guide you through the process of learning the basics of |
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> | |
<!-- | |
Copyright (c) 2012-2016 Adobe Systems Incorporated. All rights reserved. | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance |
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
/*------------------------------------------ | |
REQUIRE | |
-------------------------------------------*/ | |
var yo = require('yo-yo') | |
var csjs = require('csjs-inject') | |
var minixhr = require('minixhr') | |
/*------------------------------------------ | |
START PAGE | |
-------------------------------------------*/ |
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
/*------------------------------------------ | |
REQUIRE | |
-------------------------------------------*/ | |
var yo = require('yo-yo') | |
var csjs = require('csjs-inject') | |
var minixhr = require('minixhr') | |
/*------------------------------------------ | |
START PAGE | |
-------------------------------------------*/ |
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
/*------------------------------------------ | |
REQUIRE | |
-------------------------------------------*/ | |
var yo = require('yo-yo') | |
var csjs = require('csjs-inject') | |
var minixhr = require('minixhr') | |
/*------------------------------------------ | |
START PAGE | |
-------------------------------------------*/ |
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
{ | |
"VISA": [ | |
{ | |
"name": "Passports eligible for Visa Exemption", | |
"link": "http://www.boca.gov.tw/ct.asp?xItem=1443&ctNode=779&mp=2" | |
}, | |
{ | |
"name": "Passports eligible for Visa on arrival", | |
"link": "http://www.boca.gov.tw/ct.asp?xItem=1446&ctNode=779&mp=2" | |
} |
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
/* | |
More theory about Events https://nodejs.org/api/events.html | |
*/ | |
Event Emitter | |
// USE EVENT EMITTER | |
var eventemitter = require('EventEmitter') // walkie talky factory | |
var emitter1 = eventemitter() // walky talkie 1 |