mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Add a flag we can use to skip string template calcs in release
This commit is contained in:
@ -9,7 +9,9 @@ import {AnimationCurve} from "ui/enums"
|
||||
|
||||
function _testTransition(navigationTransition: NavigationTransition) {
|
||||
var testId = `Transition[${JSON.stringify(navigationTransition)}]`;
|
||||
trace.write(`Testing ${testId}`, trace.categories.Test);
|
||||
if (trace.enabled) {
|
||||
trace.write(`Testing ${testId}`, trace.categories.Test);
|
||||
}
|
||||
var navigationEntry: NavigationEntry = {
|
||||
create: function (): Page {
|
||||
let page = new Page();
|
||||
|
Reference in New Issue
Block a user