waterfall_bourbon_neat_rails 1.9.9.5 → 1.9.9.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2701caf19d734d9cca96e88dea317e680088e244
4
- data.tar.gz: f869fcc4664f84c1f3ff085d060f2377ba7c65d2
3
+ metadata.gz: 3558ca1b49c0005971b3505f0ae59f54719c58f2
4
+ data.tar.gz: ff37c9f82d2c55811a4b3005d41d97e48dcddb9d
5
5
  SHA512:
6
- metadata.gz: 98e6ee0c04b3c768fa9bbbe77cb66eb3775816fe8fb65aac503a10d431abd60c51d7ffa3647eb45722ea805e1e41c41e95f74cc68917fc76cc99b564dead047a
7
- data.tar.gz: c18bd9688d5bfdcfe85b287727dd5ecb4721c0c7486116fc9f827791ad6f7b5741212d5a0a2e6680ea0079c96657edd863effee4d5afdc575ccac196fb3af68f
6
+ metadata.gz: a78c3b7773c6d37798a95cf2e44c91e661bada2cca0b45acfa9438bd6d33399e32257fb3ead672becfb79a4012c56175543a539b44cbd6e3a0e09c74b1324e3f
7
+ data.tar.gz: a935c07609f8248917626a0d490a5d12762975b6439168d19e8e6364cc81f10270e3dc54db10314b1b078183501ce0d52623f95d81b3c0ad31eb52d55e2e5484
@@ -37,7 +37,14 @@ var Modal = function(options){
37
37
 
38
38
  Modal.prototype.setContentText = function(text){
39
39
  // can set a text for the content section, we can have some details for it
40
- this.$content_text.html(text);
40
+ this.$content_text.text(text);
41
+
42
+ return this;
43
+ }
44
+
45
+ Modal.prototype.setContentHtml = function(html, cssClass){
46
+ // can set a html piece for the content section, we can have some details for it
47
+ this.$content_text.addClass(cssClass).html(html);
41
48
 
42
49
  return this;
43
50
  }
@@ -74,17 +81,7 @@ var Modal = function(options){
74
81
  Modal.prototype.addListener = function(method){
75
82
  if(typeof method == "function")
76
83
  method();
77
- }
78
-
79
- //clear elements and listeners
80
- Modal.prototype.clearEverything = function(){
81
- this.$header.html();
82
- this.$content_header.html();
83
- this.$content_text.html();
84
- this.$content_other_html.html();
85
- this.$footer.html();
86
- }
87
-
84
+ }
88
85
 
89
86
  if(arguments.callee._singletonInstance)
90
87
  return arguments.callee._singletonInstance;
@@ -1,3 +1,3 @@
1
1
  module WaterfallBourbonNeatRails
2
- VERSION = "1.9.9.5".freeze
2
+ VERSION = "1.9.9.6".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waterfall_bourbon_neat_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.9.5
4
+ version: 1.9.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Waterfall Software Inc.