Skip to content

Commit

Permalink
Add example code
Browse files Browse the repository at this point in the history
  • Loading branch information
guiferpa committed Oct 8, 2018
1 parent 73835d4 commit 389eb9a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/bin/out.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use strict';

'use strict';

function hello(name) {
console.log(`Hello, ${name}`);
}

hello("Koala");
5 changes: 5 additions & 0 deletions example/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

include lib/hello.js

hello("Koala");
5 changes: 5 additions & 0 deletions example/lib/hello.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function hello(name) {
console.log(`Hello, ${name}`);
}

0 comments on commit 389eb9a

Please sign in to comment.