mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
imports improved
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import definition = require("ui/animation");
|
||||
import viewModule = require("ui/core/view");
|
||||
import trace = require("trace");
|
||||
import * as traceModule from "trace";
|
||||
|
||||
export module Properties {
|
||||
export var opacity = "opacity";
|
||||
@ -56,6 +56,8 @@ export class Animation implements definition.Animation {
|
||||
throw new Error("No animation definitions specified");
|
||||
}
|
||||
|
||||
var trace : typeof traceModule = require("trace");
|
||||
|
||||
trace.write("Analyzing " + animationDefinitions.length + " animation definitions...", trace.categories.Animation);
|
||||
this._propertyAnimations = new Array<PropertyAnimation>();
|
||||
var i = 0;
|
||||
|
Reference in New Issue
Block a user