-
-
Save tjbenton/d8802395b41ef0b8d73d to your computer and use it in GitHub Desktop.
Revisions
-
caridy revised this gist
Sep 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export *; import {default as foo}; // Missing from after import import * from "foo"; // Missing as after import *' export default = 42; -
caridy revised this gist
Sep 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import {bar, baz} from "foo"; import {bar as baz} from "foo"; import {bar as baz, xyz} from "foo"; // glob imports import * as foo from "foo"; // mixing imports -
caridy revised this gist
Sep 27, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -38,4 +38,7 @@ import {default as foo}; // Missing as after import *' export default = 42; // Unexpected token = import {bar as default} from "foo"; // Unexpected token default -
caridy revised this gist
Sep 27, 2014 . 1 changed file with 28 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,5 +10,32 @@ export function () {} export function default () {} // Unexpected token default import foo; // Missing from after import import { foo, bar }; // Missing from after import import foo from bar; // Invalid module specifier import default from "foo"; // Unexpected token default export default from "foo"; // Unexpected token from export {default}; // Missing from after export export *; // Missing from after export import {default as foo}; // Missing from after import // import * from "foo"; // Missing as after import *' export default = 42; // Unexpected token = -
caridy revised this gist
Sep 27, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,13 +2,13 @@ export const bar; // const variables must have an initializer export foo; // Unexpected token identifier, invalid named export syntax export function () {} // Unexpected token (, use a function declaration instead export function default () {} // Unexpected token default export {default}; // Missing FromClause -
caridy revised this gist
Sep 27, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,5 @@ export {foo, bar} from "foo"; export {foo as bar} from "foo"; export {foo as default} from "foo"; export {foo as default, bar} from "foo"; export {default} from "foo"; export {default as foo} from "foo"; -
caridy revised this gist
Sep 27, 2014 . 3 changed files with 9 additions and 9 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,12 @@ // default exports export default 42; export default {}; export default []; export default foo; export default function () {} export default class {} export default function foo () {} export default class foo {} // variables exports export var foo = 1; 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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {bar as baz, xyz} from "foo"; // binding imports import * as foo from "foo"; // mixing imports import foo, {baz as xyz} from "foo"; import * as bar, {baz as xyz} from "foo"; import foo, * as bar, {baz as xyz} from "foo"; 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 charactersOriginal file line number Diff line number Diff line change @@ -7,10 +7,6 @@ export foo; export function () {} // Unexpected token ( export function default () {} // Unexpected token default -
caridy revised this gist
Sep 24, 2014 . 2 changed files with 10 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default foo; // variables exports export var foo = 1; export var foo = function () {}; export var bar; // lazy initialization export let foo = 2; export let bar; // lazy initialization @@ -27,4 +28,5 @@ export {foo} from "foo"; export {foo, bar} from "foo"; export {foo as bar} from "foo"; export {foo as default} from "foo"; export {foo as default, bar} from "foo"; export {default} from "foo"; 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 charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,10 @@ export function () {} import foo from this module; // <no default export on this module> export function default () {} // Unexpected token default export {default}; // Unexpected token default -
caridy revised this gist
Sep 24, 2014 . 2 changed files with 10 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,4 +19,12 @@ export {foo}; export {foo, bar}; export {foo as bar}; export {foo as default}; export {foo as default, bar}; // exports from export * from "foo"; export {foo} from "foo"; export {foo, bar} from "foo"; export {foo as bar} from "foo"; export {foo as default} from "foo"; export {foo as default, bar} from "foo"; 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 charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import {default as foo} from "foo"; import {bar} from "foo"; import {bar, baz} from "foo"; import {bar as baz} from "foo"; import {bar as baz, xyz} from "foo"; // binding imports import * as foo from "foo"; -
caridy revised this gist
Sep 24, 2014 . 3 changed files with 24 additions and 11 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,22 @@ // default exports export default 42; export default function () {} export default class {} export default {}; export default foo; // variables exports export var foo = 1; export var bar; // lazy initialization export let foo = 2; export let bar; // lazy initialization export const foo = 3; export function foo () {} export class foo {} // named exports export {foo}; export {foo, bar}; export {foo as bar}; export {foo as default}; export {foo as default, bar}; 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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,15 @@ // default imports import foo from "foo"; import {default as foo} from "foo"; // named imports import {bar} from "foo"; import {bar, baz} from "foo"; import {bar as baz} from "foo"; // binding imports import * as foo from "foo"; // this module imports import {name} from this module; import * as m from this module; 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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,8 @@ export foo; // Unexpected token identifier export function () {} // Unexpected token ( import foo from this module; // <no default export on this module> -
caridy revised this gist
Sep 24, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,6 @@ import {default as foo} from "foo"; import {bar} from "foo"; import {bar, baz} from "foo"; import * as foo from "foo"; import {bar as baz} from "foo"; import name from this module; import * as m from this module; -
caridy revised this gist
Sep 24, 2014 . 2 changed files with 6 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,3 @@ export {foo, bar}; export {foo as bar}; export {foo as default}; export {foo as default, bar}; 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ import foo from "foo"; import {default as foo} from "foo"; import {bar} from "foo"; import {bar, baz} from "foo"; import * as foo from "foo"; import {bar as baz} from "foo"; -
caridy created this gist
Sep 23, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ export var foo = 1; export var bar; // lazy initialization export let foo = 2; export let bar; // lazy initialization export const foo = 3; export function foo () {} export class foo {} export default 42; export default function () {} export default class {} export default {}; export default foo; export {foo}; export {foo, bar}; export {foo as bar}; export {foo as default}; export {foo as default, bar}; 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ export const bar; // const variables must have an initializer export foo; // Unexpected token identifier export function () {} // Unexpected token (