applicious_utils 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- @DEBUG_FLAG = true
8
+ @setDebug true
10
9
  else
11
- @DEBUG_FLAG = false
12
- @log "Applicious [Core] Loaded :: Debug ", @DEBUG_FLAG
10
+ @setDebug false
11
+ @log "Applicious [Core] Loaded :: Debug ", getDebug
13
12
 
14
13
 
15
14
  setDebug: (flag) ->
16
- @DEBUG_FLAG = flag
15
+ AppliciousCore::DEBUG_FLAG = flag
17
16
 
18
17
 
19
18
  getDebug: ->
20
- @DEBUG_FLAG
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
- AppliciousCore::FB = new AppliciousFacebook
47
+ AP.FB = new AppliciousFacebook
@@ -23,4 +23,4 @@ end
23
23
 
24
24
  # Usage
25
25
  # $ gem build applicious_utils.gemspec
26
- # $ gem push applicious_utils
26
+ # $ gem push applicious_utils-
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.22"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: applicious_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: