From d0b12d37a9e4d2fd0999ad75dcd2060c5f8b411a Mon Sep 17 00:00:00 2001 From: Ted Patrick Date: Sat, 14 Feb 2015 12:18:59 -0600 Subject: [PATCH] 0.8.8 --- dist/txt.js | 3 --- index.html | 2 +- src/txt/CharacterText.ts | 6 +++--- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/dist/txt.js b/dist/txt.js index 5b9a47e..5b7f1e1 100644 --- a/dist/txt.js +++ b/dist/txt.js @@ -1358,7 +1358,6 @@ var txt; if (this.minSize != null && this.size < this.minSize) { this.size = this.minSize; } - console.log("REDUCE SIZE"); return; } } @@ -1375,7 +1374,6 @@ var txt; this.tracking = trackMetric; } this.size = this.original.size; - console.log("EXPAND TRACKING"); return; } if (trackMetric < this.original.tracking && this.autoReduce) { @@ -1386,7 +1384,6 @@ var txt; this.tracking = trackMetric; } this.size = this.original.size; - console.log("REDUCE TRACKING"); return; } } diff --git a/index.html b/index.html index 22d84ed..40123dd 100644 --- a/index.html +++ b/index.html @@ -356,7 +356,7 @@

License (BSD)

stage = new createjs.Stage(canvas); var text = new txt.Text( { - text:'Written to with txtjs. Welcome.\nv0.8.7', + text:'Written to with txtjs. Welcome.\nv0.8.8', font:'raleway', align:txt.Align.MIDDLE_CENTER, tracking:-5, diff --git a/src/txt/CharacterText.ts b/src/txt/CharacterText.ts index e86ab41..dbb35de 100644 --- a/src/txt/CharacterText.ts +++ b/src/txt/CharacterText.ts @@ -258,7 +258,7 @@ module txt { if( this.minSize != null && this.size < this.minSize ){ this.size = this.minSize; } - console.log( "REDUCE SIZE") + //console.log( "REDUCE SIZE") return; } //tracking cases @@ -275,7 +275,7 @@ module txt { this.tracking = trackMetric; } this.size = this.original.size; - console.log( "EXPAND TRACKING") + //console.log( "EXPAND TRACKING") return; } //autoreduce tracking case @@ -286,7 +286,7 @@ module txt { this.tracking = trackMetric; } this.size = this.original.size; - console.log( "REDUCE TRACKING") + //console.log( "REDUCE TRACKING") return; } }