smf-sdk
nightwing 2016-01-07 00:58:51 +04:00
rodzic 12c9e768ed
commit 1a344413e7
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1709,7 +1709,7 @@ pp.parseStatement = function (declaration, topLevel) {
case _tokentype.types._import:
if (!this.options.allowImportExportEverywhere) {
if (!topLevel) this.raise(this.start, "'import' and 'export' may only appear at the top level");
if (!this.inModule) this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
// if (!this.inModule) this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
}
return starttype === _tokentype.types._import ? this.parseImport(node) : this.parseExport(node);

Wyświetl plik

@ -55,14 +55,14 @@
"c9"
],
"c9plugins": {
"c9.ide.language": "#9b74b409c5",
"c9.ide.language": "#13a21efe4e",
"c9.ide.language.css": "#be07d72209",
"c9.ide.language.generic": "#2b5cc6275e",
"c9.ide.language.html": "#9be847c0ce",
"c9.ide.language.html.diff": "#24f3608d26",
"c9.ide.language.javascript": "#1a0b1584c2",
"c9.ide.language.javascript.immediate": "#c8b1e5767a",
"c9.ide.language.javascript.eslint": "#e368751fbb",
"c9.ide.language.javascript.eslint": "#a234af16c0",
"c9.ide.language.javascript.tern": "#f9ba3813d7",
"c9.ide.language.javascript.infer": "#9cf94f77be",
"c9.ide.language.jsonalyzer": "#9e0a1292e4",