forked from PolymerLabs/arcs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unified syntax by default (PolymerLabs#4102)
* Switch unified syntax on by default * Fixes for particles only used in Wasm
- Loading branch information
Showing
3 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,8 @@ Manifest | |
}); | ||
checkNormal(result); | ||
if (preSlandlesSyntaxLocations.length > 0 && !Flags.defaultToPreSlandlesSyntax) { | ||
if (typeof global !== 'undefined' && !global['testFlags'].quiet) { | ||
const hasTestFlags = typeof global !== 'undefined' && global['testFlags']; | ||
if (!hasTestFlags || !global['testFlags'].quiet) { | ||
console.warn('WARNING: Pre-Slandles Syntax is deprecated. Contact [email protected] for more information.'); | ||
console.warn(`WARNING: Used in \n ${ | ||
preSlandlesSyntaxLocations.map(loc => `line ${loc.start.line} column ${loc.start.column}`).join("\n ") | ||
|