atlas_assets 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency "handlebars_assets", "~> 0.12.1"
20
+ gem.add_dependency "handlebars_assets", "~> 0.12.0"
21
21
  end
@@ -8,23 +8,29 @@ if(!window.classes) window.classes = {};
8
8
 
9
9
  if(!window.app) window.app = {}
10
10
 
11
+ /* Constants
12
+ -------------------------------------------------------- */
13
+
14
+ if(!window.app.constants) window.app.constants = {};
15
+
16
+ _.extend(app.constants, {
17
+ ERROR : "error",
18
+ NOTICE : "notice",
19
+ WARNING : "warning"
20
+ });
21
+
11
22
  /* Events
12
23
  -------------------------------------------------------- */
13
24
 
14
25
  if(!window.app.events) window.app.events = {};
15
26
 
16
27
  _.extend(app.events, {
17
-
18
28
  FLASH_ERROR : "flash:error",
19
29
  FLASH_WARNING : "flash:warning",
20
30
  FLASH_NOTICE : "flash:notice",
21
31
  FLASH_CLOSE : "flash:close",
22
-
23
32
  SEARCH_CHANGED : "search:changed",
24
-
25
- SELECT : "select",
26
- EDITOR_RESIZE : "editor:resize"
27
-
33
+ SELECT : "select"
28
34
  });
29
35
 
30
36
  app.mailman = _.extend({}, Backbone.Events);
@@ -1,5 +1,5 @@
1
1
  module Atlas
2
2
  module Assets
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atlas_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.12.1
21
+ version: 0.12.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.1
29
+ version: 0.12.0
30
30
  description: Public repository with assets and design guide for the Atlas platform
31
31
  email:
32
32
  - rune@runemadsen.com