applicious_utils 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,21 +3,20 @@ root = exports ? window
|
|
|
3
3
|
class AppliciousCore
|
|
4
4
|
DEBUG_FLAG: false
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
constructor: () ->
|
|
8
7
|
if root.DEBUG
|
|
9
|
-
|
|
8
|
+
@setDebug true
|
|
10
9
|
else
|
|
11
|
-
@
|
|
12
|
-
@log "Applicious [Core] Loaded :: Debug ",
|
|
10
|
+
@setDebug false
|
|
11
|
+
@log "Applicious [Core] Loaded :: Debug ", getDebug
|
|
13
12
|
|
|
14
13
|
|
|
15
14
|
setDebug: (flag) ->
|
|
16
|
-
|
|
15
|
+
AppliciousCore::DEBUG_FLAG = flag
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
getDebug: ->
|
|
20
|
-
|
|
19
|
+
AppliciousCore::DEBUG_FLAG
|
|
21
20
|
|
|
22
21
|
|
|
23
22
|
log: (debug_data...) ->
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#= require ./applicious_class.js.coffee
|
|
2
2
|
|
|
3
3
|
class AppliciousFacebook extends AppliciousCore
|
|
4
|
-
FB_APP_ID: ''
|
|
5
|
-
FB_UID: ''
|
|
6
|
-
FB_SESSION: ''
|
|
7
|
-
FB_STATUS: ''
|
|
4
|
+
@FB_APP_ID: ''
|
|
5
|
+
@FB_UID: ''
|
|
6
|
+
@FB_SESSION: ''
|
|
7
|
+
@FB_STATUS: ''
|
|
8
8
|
|
|
9
9
|
constructor: ->
|
|
10
10
|
@log 'Applicious [AP::FB] Loaded'
|
|
@@ -44,4 +44,4 @@ class AppliciousFacebook extends AppliciousCore
|
|
|
44
44
|
|
|
45
45
|
# - - - #
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
AP.FB = new AppliciousFacebook
|
data/applicious_utils.gemspec
CHANGED