bootstrap-for-ember-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +1 -1
  3. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/.gitignore +2 -2
  4. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/Gruntfile.js +10 -12
  5. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/README.md +13 -1
  6. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/app/scripts/views/ItemPaneView.coffee +1 -8
  7. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/bower.json +1 -1
  8. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-alert.max.js +11 -126
  9. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-alert.min.js +1 -1
  10. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-badge.max.js +6 -14
  11. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-badge.min.js +1 -1
  12. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-basic.max.js +80 -151
  13. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-basic.min.js +1 -1
  14. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-breadcrumbs.max.js +1 -1
  15. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-breadcrumbs.min.js +1 -1
  16. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-button.max.js +20 -156
  17. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-button.min.js +1 -1
  18. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-core.max.js +14 -68
  19. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-core.min.js +1 -1
  20. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-growl-notifications.min.js +1 -1
  21. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-items-action-bar.min.js +1 -1
  22. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-label.max.js +6 -14
  23. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-label.min.js +1 -1
  24. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-list-group.min.js +1 -1
  25. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-modal.max.js +157 -106
  26. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-modal.min.js +1 -1
  27. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-nav.min.js +1 -1
  28. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-notifications.min.js +1 -1
  29. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-popover.max.js +21 -3
  30. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-popover.min.js +1 -1
  31. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-progressbar.max.js +22 -47
  32. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-progressbar.min.js +1 -1
  33. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/dist/js/bs-wizard.min.js +1 -1
  34. data/lib/bootstrap-for-ember-rails/bootstrap-for-ember/package.json +1 -1
  35. data/lib/bootstrap-for-ember-rails/version.rb +1 -1
  36. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38ca916e536f338bcad64a60af530adb62f658de
4
- data.tar.gz: 6121a763c7309df320cfa68cd496598e2284b29f
3
+ metadata.gz: 4267926e8fcd86b39d4c8ccaaaf3b784874a8967
4
+ data.tar.gz: f9572c03355bef512d9828b55c75b355d5cdd74b
5
5
  SHA512:
6
- metadata.gz: 733c78f30c347f2b333a860c819f9d77ecf3c0a0ef7591fe6201d0563cc4771f02bf318daa76499c0cc5108582c1e942392e5a46470c72e9da31e6d44d76b459
7
- data.tar.gz: 6ed8fdb532fd75674cca0ef32605a91ba28a1b0a12e00ee075d5e01866c561dbfe35468df40b0894403c14eca6378d0dd118293f89d17f539214c22dad9fffe5
6
+ metadata.gz: c0f32127cfd8dddda6fa6d1277e61af50b73f9225e79005ee6c79b7fa5ea0b800864d389af4120ceb3c8c6e799766220d97a7fc2689a9dc7ce7358b231a1bd5f
7
+ data.tar.gz: 1ea596ba26231845f40cb7e342cc2bfc391e8512dff91c8dbdbb2fb5d4db238f280b763da412954d679c6e8b8c93d67622ce535c6011276f9f1c96efaa5285d4
@@ -1,3 +1,3 @@
1
1
  [submodule "lib/bootstrap-for-ember-rails/bootstrap-for-ember"]
2
2
  path = lib/bootstrap-for-ember-rails/bootstrap-for-ember
3
- url = git://github.com/ember-addons/bootstrap-for-ember.git
3
+ url = git://github.com/cjc343/bootstrap-for-ember.git
@@ -1,5 +1,5 @@
1
1
  node_modules
2
2
  .tmp
3
3
  .sass-cache
4
- app/bower_components
5
- app/templates/showcase/show_components/*.hbs
4
+ bower_components
5
+ app/templates/showcase/show_components/*.hbs
@@ -37,9 +37,9 @@ module.exports = function (grunt) {
37
37
  files: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
38
38
  tasks: ['compass:server']
39
39
  },
40
- ember_handlebars: {
40
+ ember_templates: {
41
41
  files: '<%= yeoman.app %>/templates/**/*.hbs',
42
- tasks: ['ember_handlebars']
42
+ tasks: ['ember_templates']
43
43
  },
44
44
  markdown: {
45
45
  files: '<%= yeoman.app %>/templates/**/*.md',
@@ -167,7 +167,7 @@ module.exports = function (grunt) {
167
167
  imagesDir: '<%= yeoman.app %>/images',
168
168
  javascriptsDir: '<%= yeoman.app %>/scripts',
169
169
  fontsDir: '<%= yeoman.app %>/styles/fonts',
170
- importPath: '<%= yeoman.app %>/bower_components',
170
+ importPath: '<%= yeoman.app %>/../bower_components',
171
171
  httpImagesPath: '/images',
172
172
  httpGeneratedImagesPath: '/images/generated',
173
173
  httpFontsPath: '/styles/fonts',
@@ -309,7 +309,7 @@ module.exports = function (grunt) {
309
309
  server: [
310
310
  'compass',
311
311
  'markdown',
312
- 'ember_handlebars',
312
+ 'ember_templates',
313
313
  'coffee:dist'
314
314
  ],
315
315
  test: [
@@ -318,19 +318,18 @@ module.exports = function (grunt) {
318
318
  dist: [
319
319
  'coffee',
320
320
  'markdown',
321
- 'ember_handlebars',
321
+ 'ember_templates',
322
322
  'compass',
323
323
  'imagemin',
324
324
  'svgmin',
325
325
  'htmlmin'
326
326
  ]
327
327
  },
328
- ember_handlebars: {
328
+ ember_templates: {
329
329
  compile_components: {
330
330
  options: {
331
- processName: function(filename) {
332
- var fromComponent = filename.substring(filename.lastIndexOf('/components/')+1,filename.length);
333
- return fromComponent.substring(0,fromComponent.length-4);
331
+ templateName: function(filename) {
332
+ return filename.substring(filename.lastIndexOf('/components/')+1,filename.length);
334
333
  },
335
334
  namespace: "Ember.TEMPLATES"
336
335
  },
@@ -356,9 +355,8 @@ module.exports = function (grunt) {
356
355
  },
357
356
  compile_showcase: {
358
357
  options: {
359
- processName: function(filename) {
360
- var fromShowcase = filename.substring(filename.lastIndexOf('/showcase/')+1,filename.length)
361
- return fromShowcase.substring(fromShowcase.indexOf('/')+1,fromShowcase.length-4);
358
+ templateName: function(filename) {
359
+ return filename.substring(filename.lastIndexOf('/showcase/')+1,filename.length).replace('showcase/', '');
362
360
  },
363
361
  namespace: "Ember.TEMPLATES"
364
362
  },
@@ -1,3 +1,16 @@
1
+ #### This project is deprecated, why?
2
+
3
+ While this project is currently used in many production applications, we have decided to discontinue the development for the development of our new rich components available here: http://indexiatech.github.io/ember-components
4
+
5
+ There are several advantaged for using [Indexia Ember Components](http://indexiatech.github.io/ember-components), some of them are:
6
+
7
+ * Components were refactored and designed much better.
8
+ * Components are Ember-Cli addons for easy integration.
9
+ * Components are splitted into addons in order to avoid blowing up the app size with unneccessary bits.
10
+
11
+ For more info see: http://indexiatech.github.io/ember-components/#/overview
12
+
13
+
1
14
  # Bootstrap for Ember
2
15
 
3
16
  _Bootstrap for Ember.js_ is a collection of UI components based on Twitter Bootstrap *v3* for Ember.js
@@ -16,7 +29,6 @@ using Bootstrap as is, see showcase!
16
29
  #### Bootstrap for Ember [ShowCase](http://ember-addons.github.io/bootstrap-for-ember)
17
30
 
18
31
  #### For forms components, take a look at [Ember Forms](http://indexiatech.github.io/ember-forms) project
19
- #### For new rich set of UI components (not specifically for Bootstrap) look at [Ember Components](http://indexiatech.github.io/ember-components/#/overview)
20
32
 
21
33
  ## Why?
22
34
 
@@ -1,5 +1,5 @@
1
1
  Bootstrap.ItemPaneView = Ember.View.extend(
2
- templateName: 'views/item-pane'
2
+ template: Ember.Handlebars.compile('{{#if view.content.template}}{{partial view.content.template}}{{/if}}')
3
3
 
4
4
  corrItem: (->
5
5
  if @get('parentView').get('corrItemsView')?
@@ -20,10 +20,3 @@ Bootstrap.ItemPaneView = Ember.View.extend(
20
20
  ).property('content')
21
21
  )
22
22
 
23
- #TODO: Is there a simple way to do this without passing through a helper?
24
- Ember.Handlebars.helper("bsItemPanePartial", (templateName, options) ->
25
- view = options.data.view
26
- template = view.templateForName(templateName)
27
- Ember.assert("Unable to find template with name '#{templateName}'", template)
28
- template(@, { data: options.data })
29
- )
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "modernizr": "~2.6.2",
41
41
  "jquery": "~1.9.1",
42
- "ember": "~1.3.1",
42
+ "ember": "~1.9.0",
43
43
  "bootstrap": "3.0.0",
44
44
  "highlightjs": "~7.3.0",
45
45
  "font-awesome": "~4.0.3"
@@ -1,102 +1,3 @@
1
- /* ========================================================================
2
- * Bootstrap: alert.js v3.0.0
3
- * http://twbs.github.com/bootstrap/javascript.html#alerts
4
- * ========================================================================
5
- * Copyright 2013 Twitter, Inc.
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- * ======================================================================== */
19
-
20
-
21
- +function ($) { "use strict";
22
-
23
- // ALERT CLASS DEFINITION
24
- // ======================
25
-
26
- var dismiss = '[data-dismiss="alert"]'
27
- var Alert = function (el) {
28
- $(el).on('click', dismiss, this.close)
29
- }
30
-
31
- Alert.prototype.close = function (e) {
32
- var $this = $(this)
33
- var selector = $this.attr('data-target')
34
-
35
- if (!selector) {
36
- selector = $this.attr('href')
37
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
38
- }
39
-
40
- var $parent = $(selector)
41
-
42
- if (e) e.preventDefault()
43
-
44
- if (!$parent.length) {
45
- $parent = $this.hasClass('alert') ? $this : $this.parent()
46
- }
47
-
48
- $parent.trigger(e = $.Event('close.bs.alert'))
49
-
50
- if (e.isDefaultPrevented()) return
51
-
52
- $parent.removeClass('in')
53
-
54
- function removeElement() {
55
- $parent.trigger('closed.bs.alert').remove()
56
- }
57
-
58
- $.support.transition && $parent.hasClass('fade') ?
59
- $parent
60
- .one($.support.transition.end, removeElement)
61
- .emulateTransitionEnd(150) :
62
- removeElement()
63
- }
64
-
65
-
66
- // ALERT PLUGIN DEFINITION
67
- // =======================
68
-
69
- var old = $.fn.alert
70
-
71
- $.fn.alert = function (option) {
72
- return this.each(function () {
73
- var $this = $(this)
74
- var data = $this.data('bs.alert')
75
-
76
- if (!data) $this.data('bs.alert', (data = new Alert(this)))
77
- if (typeof option == 'string') data[option].call($this)
78
- })
79
- }
80
-
81
- $.fn.alert.Constructor = Alert
82
-
83
-
84
- // ALERT NO CONFLICT
85
- // =================
86
-
87
- $.fn.alert.noConflict = function () {
88
- $.fn.alert = old
89
- return this
90
- }
91
-
92
-
93
- // ALERT DATA-API
94
- // ==============
95
-
96
- $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
97
-
98
- }(window.jQuery);
99
-
100
1
  (function() {
101
2
  Bootstrap.BsAlertComponent = Ember.Component.extend(Bootstrap.TypeSupport, {
102
3
  classNames: ['alert'],
@@ -128,31 +29,15 @@
128
29
 
129
30
  }).call(this);
130
31
 
131
- this["Ember"] = this["Ember"] || {};
132
- this["Ember"]["TEMPLATES"] = this["Ember"]["TEMPLATES"] || {};
133
-
134
- this["Ember"]["TEMPLATES"]["components/bs-alert"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
135
- this.compilerInfo = [4,'>= 1.0.0'];
136
- helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
137
- var buffer = '', stack1, hashTypes, hashContexts, self=this, escapeExpression=this.escapeExpression;
138
-
139
- function program1(depth0,data) {
140
-
141
-
142
- data.buffer.push("\n <a class=\"close\" data-dismiss=\"alert\" href=\"#\">&times;</a>\n");
143
- }
144
-
145
- hashTypes = {};
146
- hashContexts = {};
147
- stack1 = helpers['if'].call(depth0, "dismiss", {hash:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
148
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
149
- data.buffer.push("\n");
150
- hashTypes = {};
151
- hashContexts = {};
152
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "message", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
153
- hashTypes = {};
154
- hashContexts = {};
155
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "yield", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
32
+ Ember.TEMPLATES["components/bs-alert"] = Ember.Handlebars.template({"1":function(depth0,helpers,partials,data) {
33
+ data.buffer.push(" <a class=\"close\" data-dismiss=\"alert\" href=\"#\">&times;</a>\n");
34
+ },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
35
+ var stack1, buffer = '';
36
+ stack1 = helpers['if'].call(depth0, "dismiss", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(1, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
37
+ if (stack1 != null) { data.buffer.push(stack1); }
38
+ stack1 = helpers._triageMustache.call(depth0, "message", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
39
+ if (stack1 != null) { data.buffer.push(stack1); }
40
+ stack1 = helpers._triageMustache.call(depth0, "yield", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
41
+ if (stack1 != null) { data.buffer.push(stack1); }
156
42
  return buffer;
157
-
158
- });
43
+ },"useData":true});
@@ -1 +1 @@
1
- +function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),function(){Bootstrap.BsAlertComponent=Ember.Component.extend(Bootstrap.TypeSupport,{classNames:["alert"],classNameBindings:["fade","fade:in"],layoutName:"components/bs-alert",classTypePrefix:"alert",attributeBindings:["data-timeout"],dismissAfter:0,closedParam:null,didInsertElement:function(){var a=this;return this.dismissAfter>0&&Ember.run.later(this,"dismiss",1e3*this.dismissAfter),Ember.$("#"+this.elementId).bind("closed.bs.alert",function(){return a.sendAction("closed",a.get("closedParam")),a.destroy()}),Ember.$("#"+this.elementId).bind("close.bs.alert",function(){return a.sendAction("close",a.get("closedParam"))})},dismiss:function(){return Ember.$("#"+this.elementId).alert("close")}}),Ember.Handlebars.helper("bs-alert",Bootstrap.BsAlertComponent)}.call(this),this.Ember=this.Ember||{},this.Ember.TEMPLATES=this.Ember.TEMPLATES||{},this.Ember.TEMPLATES["components/bs-alert"]=Ember.Handlebars.template(function(a,b,c,d,e){function f(a,b){b.buffer.push('\n <a class="close" data-dismiss="alert" href="#">&times;</a>\n')}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,Ember.Handlebars.helpers),e=e||{};var g,h,i,j="",k=this,l=this.escapeExpression;return h={},i={},g=c["if"].call(b,"dismiss",{hash:{},inverse:k.noop,fn:k.program(1,f,e),contexts:[b],types:["ID"],hashContexts:i,hashTypes:h,data:e}),(g||0===g)&&e.buffer.push(g),e.buffer.push("\n"),h={},i={},e.buffer.push(l(c._triageMustache.call(b,"message",{hash:{},contexts:[b],types:["ID"],hashContexts:i,hashTypes:h,data:e}))),h={},i={},e.buffer.push(l(c._triageMustache.call(b,"yield",{hash:{},contexts:[b],types:["ID"],hashContexts:i,hashTypes:h,data:e}))),j});
1
+ (function(){Bootstrap.BsAlertComponent=Ember.Component.extend(Bootstrap.TypeSupport,{classNames:["alert"],classNameBindings:["fade","fade:in"],layoutName:"components/bs-alert",classTypePrefix:"alert",attributeBindings:["data-timeout"],dismissAfter:0,closedParam:null,didInsertElement:function(){var a=this;return this.dismissAfter>0&&Ember.run.later(this,"dismiss",1e3*this.dismissAfter),Ember.$("#"+this.elementId).bind("closed.bs.alert",function(){return a.sendAction("closed",a.get("closedParam")),a.destroy()}),Ember.$("#"+this.elementId).bind("close.bs.alert",function(){return a.sendAction("close",a.get("closedParam"))})},dismiss:function(){return Ember.$("#"+this.elementId).alert("close")}}),Ember.Handlebars.helper("bs-alert",Bootstrap.BsAlertComponent)}).call(this),Ember.TEMPLATES["components/bs-alert"]=Ember.Handlebars.template({1:function(a,b,c,d){d.buffer.push(' <a class="close" data-dismiss="alert" href="#">&times;</a>\n')},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f="";return e=b["if"].call(a,"dismiss",{name:"if",hash:{},hashTypes:{},hashContexts:{},fn:this.program(1,d),inverse:this.noop,types:["ID"],contexts:[a],data:d}),null!=e&&d.buffer.push(e),e=b._triageMustache.call(a,"message",{name:"_triageMustache",hash:{},hashTypes:{},hashContexts:{},types:["ID"],contexts:[a],data:d}),null!=e&&d.buffer.push(e),e=b._triageMustache.call(a,"yield",{name:"_triageMustache",hash:{},hashTypes:{},hashContexts:{},types:["ID"],contexts:[a],data:d}),null!=e&&d.buffer.push(e),f},useData:!0});
@@ -10,17 +10,9 @@
10
10
 
11
11
  }).call(this);
12
12
 
13
- this["Ember"] = this["Ember"] || {};
14
- this["Ember"]["TEMPLATES"] = this["Ember"]["TEMPLATES"] || {};
15
-
16
- this["Ember"]["TEMPLATES"]["components/bs-badge"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
17
- this.compilerInfo = [4,'>= 1.0.0'];
18
- helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
19
- var hashTypes, hashContexts, escapeExpression=this.escapeExpression;
20
-
21
-
22
- hashTypes = {};
23
- hashContexts = {};
24
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "content", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
25
-
26
- });
13
+ Ember.TEMPLATES["components/bs-badge"] = Ember.Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
14
+ var stack1;
15
+ stack1 = helpers._triageMustache.call(depth0, "content", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
16
+ if (stack1 != null) { data.buffer.push(stack1); }
17
+ else { data.buffer.push(''); }
18
+ },"useData":true});
@@ -1 +1 @@
1
- !function(){Bootstrap.BsBadgeComponent=Ember.Component.extend(Bootstrap.TypeSupport,{layoutName:"components/bs-badge",tagName:"span",classNames:["badge"],classTypePrefix:"badge"}),Ember.Handlebars.helper("bs-badge",Bootstrap.BsBadgeComponent)}.call(this),this.Ember=this.Ember||{},this.Ember.TEMPLATES=this.Ember.TEMPLATES||{},this.Ember.TEMPLATES["components/bs-badge"]=Ember.Handlebars.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,Ember.Handlebars.helpers),e=e||{};var f,g,h=this.escapeExpression;f={},g={},e.buffer.push(h(c._triageMustache.call(b,"content",{hash:{},contexts:[b],types:["ID"],hashContexts:g,hashTypes:f,data:e})))});
1
+ (function(){Bootstrap.BsBadgeComponent=Ember.Component.extend(Bootstrap.TypeSupport,{layoutName:"components/bs-badge",tagName:"span",classNames:["badge"],classTypePrefix:"badge"}),Ember.Handlebars.helper("bs-badge",Bootstrap.BsBadgeComponent)}).call(this),Ember.TEMPLATES["components/bs-badge"]=Ember.Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e;e=b._triageMustache.call(a,"content",{name:"_triageMustache",hash:{},hashTypes:{},hashContexts:{},types:["ID"],contexts:[a],data:d}),d.buffer.push(null!=e?e:"")},useData:!0});
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  click: function(event) {
46
- return this.sendAction('clicked');
46
+ return this.sendAction('clicked', event);
47
47
  },
48
48
  collapsibleBodyId: (function() {
49
49
  return "" + (this.get('elementId')) + "_body";
@@ -57,174 +57,103 @@
57
57
 
58
58
  }).call(this);
59
59
 
60
- this["Ember"] = this["Ember"] || {};
61
- this["Ember"]["TEMPLATES"] = this["Ember"]["TEMPLATES"] || {};
62
-
63
- this["Ember"]["TEMPLATES"]["components/bs-page-header"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
64
- this.compilerInfo = [4,'>= 1.0.0'];
65
- helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
66
- var buffer = '', stack1, hashTypes, hashContexts, escapeExpression=this.escapeExpression, self=this;
67
-
68
- function program1(depth0,data) {
69
-
70
- var buffer = '', hashTypes, hashContexts;
71
- data.buffer.push("\n <small>");
72
- hashTypes = {};
73
- hashContexts = {};
74
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "sub", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
75
- data.buffer.push("</small>\n ");
60
+ Ember.TEMPLATES["components/bs-page-header"] = Ember.Handlebars.template({"1":function(depth0,helpers,partials,data) {
61
+ var stack1, buffer = '';
62
+ data.buffer.push(" <small>");
63
+ stack1 = helpers._triageMustache.call(depth0, "sub", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
64
+ if (stack1 != null) { data.buffer.push(stack1); }
65
+ data.buffer.push("</small>\n");
76
66
  return buffer;
77
- }
78
-
67
+ },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
68
+ var stack1, buffer = '';
79
69
  data.buffer.push("<h1>\n ");
80
- hashTypes = {};
81
- hashContexts = {};
82
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "title", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
83
- data.buffer.push("\n ");
84
- hashTypes = {};
85
- hashContexts = {};
86
- stack1 = helpers['if'].call(depth0, "sub", {hash:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
87
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
88
- data.buffer.push("\n</h1>");
70
+ stack1 = helpers._triageMustache.call(depth0, "title", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
71
+ if (stack1 != null) { data.buffer.push(stack1); }
72
+ data.buffer.push("\n");
73
+ stack1 = helpers['if'].call(depth0, "sub", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(1, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
74
+ if (stack1 != null) { data.buffer.push(stack1); }
75
+ data.buffer.push("</h1>");
89
76
  return buffer;
90
-
91
- });
92
-
93
- this["Ember"]["TEMPLATES"]["components/bs-well"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
94
- this.compilerInfo = [4,'>= 1.0.0'];
95
- helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
96
- var hashTypes, hashContexts, escapeExpression=this.escapeExpression;
97
-
98
-
99
- hashTypes = {};
100
- hashContexts = {};
101
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "yield", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
102
-
103
- });
104
-
105
- this["Ember"]["TEMPLATES"]["components/bs-panel"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
106
- this.compilerInfo = [4,'>= 1.0.0'];
107
- helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
108
- var buffer = '', stack1, hashTypes, hashContexts, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this;
109
-
110
- function program1(depth0,data) {
111
-
112
- var buffer = '', stack1, hashTypes, hashContexts;
113
- data.buffer.push("\n <div class=\"panel-heading\">\n ");
114
- hashTypes = {};
115
- hashContexts = {};
116
- stack1 = helpers['if'].call(depth0, "collapsible", {hash:{},inverse:self.program(4, program4, data),fn:self.program(2, program2, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
117
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
118
- data.buffer.push("\n ");
119
- hashTypes = {};
120
- hashContexts = {};
121
- stack1 = helpers['if'].call(depth0, "dismiss", {hash:{},inverse:self.noop,fn:self.program(6, program6, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
122
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
123
- data.buffer.push("\n </div>\n");
77
+ },"useData":true});
78
+
79
+ Ember.TEMPLATES["components/bs-well"] = Ember.Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
80
+ var stack1;
81
+ stack1 = helpers._triageMustache.call(depth0, "yield", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
82
+ if (stack1 != null) { data.buffer.push(stack1); }
83
+ else { data.buffer.push(''); }
84
+ },"useData":true});
85
+
86
+ Ember.TEMPLATES["components/bs-panel"] = Ember.Handlebars.template({"1":function(depth0,helpers,partials,data) {
87
+ var stack1, buffer = '';
88
+ data.buffer.push(" <div class=\"panel-heading\">\n");
89
+ stack1 = helpers['if'].call(depth0, "collapsible", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(2, data),"inverse":this.program(4, data),"types":["ID"],"contexts":[depth0],"data":data});
90
+ if (stack1 != null) { data.buffer.push(stack1); }
91
+ stack1 = helpers['if'].call(depth0, "dismiss", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(6, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
92
+ if (stack1 != null) { data.buffer.push(stack1); }
93
+ data.buffer.push(" </div>\n");
124
94
  return buffer;
125
- }
126
- function program2(depth0,data) {
127
-
128
- var buffer = '', stack1, hashContexts, hashTypes, options;
129
- data.buffer.push("\n <a class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" ");
130
- hashContexts = {'href': depth0};
131
- hashTypes = {'href': "ID"};
132
- options = {hash:{
95
+ },"2":function(depth0,helpers,partials,data) {
96
+ var stack1, escapeExpression=this.escapeExpression, buffer = '';
97
+ data.buffer.push(" <a class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" ");
98
+ data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {"name":"bind-attr","hash":{
133
99
  'href': ("collapsibleBodyLink")
134
- },contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data};
135
- data.buffer.push(escapeExpression(((stack1 = helpers['bind-attr'] || depth0['bind-attr']),stack1 ? stack1.call(depth0, options) : helperMissing.call(depth0, "bind-attr", options))));
100
+ },"hashTypes":{'href': "ID"},"hashContexts":{'href': depth0},"types":[],"contexts":[],"data":data})));
136
101
  data.buffer.push(">\n ");
137
- hashTypes = {};
138
- hashContexts = {};
139
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "heading", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
140
- data.buffer.push("\n </a>\n ");
102
+ stack1 = helpers._triageMustache.call(depth0, "heading", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
103
+ if (stack1 != null) { data.buffer.push(stack1); }
104
+ data.buffer.push("\n </a>\n");
141
105
  return buffer;
142
- }
143
-
144
- function program4(depth0,data) {
145
-
146
- var buffer = '', hashTypes, hashContexts;
147
- data.buffer.push("\n ");
148
- hashTypes = {};
149
- hashContexts = {};
150
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "heading", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
151
- data.buffer.push("\n ");
106
+ },"4":function(depth0,helpers,partials,data) {
107
+ var stack1, buffer = '';
108
+ data.buffer.push(" ");
109
+ stack1 = helpers._triageMustache.call(depth0, "heading", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
110
+ if (stack1 != null) { data.buffer.push(stack1); }
111
+ data.buffer.push("\n");
152
112
  return buffer;
153
- }
154
-
155
- function program6(depth0,data) {
156
-
157
- var buffer = '', hashTypes, hashContexts;
158
- data.buffer.push("\n <a class=\"close\" data-dismiss=\"panel\" ");
159
- hashTypes = {};
160
- hashContexts = {};
161
- data.buffer.push(escapeExpression(helpers.action.call(depth0, "close", {hash:{},contexts:[depth0],types:["STRING"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
162
- data.buffer.push(">&times;</a>\n ");
113
+ },"6":function(depth0,helpers,partials,data) {
114
+ var escapeExpression=this.escapeExpression, buffer = '';
115
+ data.buffer.push(" <a class=\"close\" data-dismiss=\"panel\" ");
116
+ data.buffer.push(escapeExpression(helpers.action.call(depth0, "close", {"name":"action","hash":{},"hashTypes":{},"hashContexts":{},"types":["STRING"],"contexts":[depth0],"data":data})));
117
+ data.buffer.push(">&times;</a>\n");
163
118
  return buffer;
164
- }
165
-
166
- function program8(depth0,data) {
167
-
168
- var buffer = '', stack1, hashContexts, hashTypes, options;
169
- data.buffer.push("\n <div ");
170
- hashContexts = {'id': depth0};
171
- hashTypes = {'id': "ID"};
172
- options = {hash:{
119
+ },"8":function(depth0,helpers,partials,data) {
120
+ var stack1, escapeExpression=this.escapeExpression, buffer = '';
121
+ data.buffer.push(" <div ");
122
+ data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {"name":"bind-attr","hash":{
173
123
  'id': ("collapsibleBodyId")
174
- },contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data};
175
- data.buffer.push(escapeExpression(((stack1 = helpers['bind-attr'] || depth0['bind-attr']),stack1 ? stack1.call(depth0, options) : helperMissing.call(depth0, "bind-attr", options))));
124
+ },"hashTypes":{'id': "ID"},"hashContexts":{'id': depth0},"types":[],"contexts":[],"data":data})));
176
125
  data.buffer.push(" ");
177
- hashContexts = {'class': depth0};
178
- hashTypes = {'class': "STRING"};
179
- options = {hash:{
126
+ data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {"name":"bind-attr","hash":{
180
127
  'class': (":panel-collapse :collapse open:in")
181
- },contexts:[],types:[],hashContexts:hashContexts,hashTypes:hashTypes,data:data};
182
- data.buffer.push(escapeExpression(((stack1 = helpers['bind-attr'] || depth0['bind-attr']),stack1 ? stack1.call(depth0, options) : helperMissing.call(depth0, "bind-attr", options))));
128
+ },"hashTypes":{'class': "STRING"},"hashContexts":{'class': depth0},"types":[],"contexts":[],"data":data})));
183
129
  data.buffer.push(">\n <div class=\"panel-body\">");
184
- hashTypes = {};
185
- hashContexts = {};
186
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "yield", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
130
+ stack1 = helpers._triageMustache.call(depth0, "yield", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
131
+ if (stack1 != null) { data.buffer.push(stack1); }
187
132
  data.buffer.push("</div>\n </div>\n");
188
133
  return buffer;
189
- }
190
-
191
- function program10(depth0,data) {
192
-
193
- var buffer = '', hashTypes, hashContexts;
194
- data.buffer.push("\n <div id=\"collapseOne\" class=\"panel-body\">");
195
- hashTypes = {};
196
- hashContexts = {};
197
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "yield", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
134
+ },"10":function(depth0,helpers,partials,data) {
135
+ var stack1, buffer = '';
136
+ data.buffer.push(" <div id=\"collapseOne\" class=\"panel-body\">");
137
+ stack1 = helpers._triageMustache.call(depth0, "yield", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
138
+ if (stack1 != null) { data.buffer.push(stack1); }
198
139
  data.buffer.push("</div>\n");
199
140
  return buffer;
200
- }
201
-
202
- function program12(depth0,data) {
203
-
204
- var buffer = '', hashTypes, hashContexts;
205
- data.buffer.push("\n <div class=\"panel-footer\">");
206
- hashTypes = {};
207
- hashContexts = {};
208
- data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "footer", {hash:{},contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data})));
141
+ },"12":function(depth0,helpers,partials,data) {
142
+ var stack1, buffer = '';
143
+ data.buffer.push(" <div class=\"panel-footer\">");
144
+ stack1 = helpers._triageMustache.call(depth0, "footer", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
145
+ if (stack1 != null) { data.buffer.push(stack1); }
209
146
  data.buffer.push("</div>\n");
210
147
  return buffer;
211
- }
212
-
213
- hashTypes = {};
214
- hashContexts = {};
215
- stack1 = helpers['if'].call(depth0, "heading", {hash:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
216
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
217
- data.buffer.push("\n\n");
218
- hashTypes = {};
219
- hashContexts = {};
220
- stack1 = helpers['if'].call(depth0, "collapsible", {hash:{},inverse:self.program(10, program10, data),fn:self.program(8, program8, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
221
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
222
- data.buffer.push("\n\n");
223
- hashTypes = {};
224
- hashContexts = {};
225
- stack1 = helpers['if'].call(depth0, "footer", {hash:{},inverse:self.noop,fn:self.program(12, program12, data),contexts:[depth0],types:["ID"],hashContexts:hashContexts,hashTypes:hashTypes,data:data});
226
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
148
+ },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
149
+ var stack1, buffer = '';
150
+ stack1 = helpers['if'].call(depth0, "heading", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(1, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
151
+ if (stack1 != null) { data.buffer.push(stack1); }
152
+ data.buffer.push("\n");
153
+ stack1 = helpers['if'].call(depth0, "collapsible", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(8, data),"inverse":this.program(10, data),"types":["ID"],"contexts":[depth0],"data":data});
154
+ if (stack1 != null) { data.buffer.push(stack1); }
227
155
  data.buffer.push("\n");
156
+ stack1 = helpers['if'].call(depth0, "footer", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(12, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
157
+ if (stack1 != null) { data.buffer.push(stack1); }
228
158
  return buffer;
229
-
230
- });
159
+ },"useData":true});