File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ import flash.external.*;
30
30
31
31
class com .pipwerks.SCORM {
32
32
33
- private var __connectionActive = false ,
34
- __debugActive = true ; //Enable (true) or disable (false)
33
+ private var __connectionActive : Boolean = false ,
34
+ __debugActive : Boolean = true ; //Enable (true) or disable (false)
35
35
36
36
37
37
public function SCORM () {
@@ -253,15 +253,15 @@ class com.pipwerks.SCORM {
253
253
254
254
private function __stringToBoolean (value :String ):Boolean {
255
255
256
- var t = typeof value ;
256
+ var t: String = typeof value ;
257
257
258
258
switch (t){
259
259
260
260
case "boolean" : return value ;
261
261
case "number" : return !! value ;
262
262
case "undefined" : return null ;
263
263
case "string" :
264
- var str = value . toLowerCase ();
264
+ var str: String = value . toLowerCase ();
265
265
return (str === "true" || str === "1" );
266
266
267
267
default : return false ;
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ package com.pipwerks {
32
32
33
33
public class SCORM {
34
34
35
- private var __connectionActive = false ,
36
- __debugActive = true ;
35
+ private var __connectionActive : Boolean = false ,
36
+ __debugActive : Boolean = true ;
37
37
38
38
39
39
public function SCORM () {
@@ -254,7 +254,7 @@ package com.pipwerks {
254
254
255
255
private function __stringToBoolean (value :String ):Boolean {
256
256
257
- var t = typeof value ;
257
+ var t: String = typeof value ;
258
258
259
259
switch (t){
260
260
You can’t perform that action at this time.
0 commit comments