compass_formalize 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/README.md +9 -1
- data/compass_formalize.gemspec +2 -2
- data/stylesheets/_formalize.sass +4 -4
- data/templates/dojo/dojo.formalize.js +2 -1
- data/templates/dojo/dojo.formalize.min.js +1 -1
- data/templates/extjs/extjs.formalize.js +2 -1
- data/templates/extjs/extjs.formalize.min.js +1 -1
- data/templates/jquery/jquery.formalize.js +2 -1
- data/templates/jquery/jquery.formalize.min.js +1 -1
- data/templates/mootools/mootools.formalize.js +2 -1
- data/templates/mootools/mootools.formalize.min.js +1 -1
- data/templates/prototype/prototype.formalize.js +2 -1
- data/templates/prototype/prototype.formalize.min.js +1 -1
- data/templates/yui/yui.formalize.js +2 -1
- data/templates/yui/yui.formalize.min.js +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -16,6 +16,10 @@ If you're starting from scratch, create your Compass project:
|
|
16
16
|
|
17
17
|
compass create my-project -r compass_formalize
|
18
18
|
|
19
|
+
If you're adding the library to an existing project, add the following to your config.rb file:
|
20
|
+
|
21
|
+
require 'compass_formalize'
|
22
|
+
|
19
23
|
To apply the Formalize pattern, run one of the following, depending on
|
20
24
|
your JavaScript framework taste:
|
21
25
|
|
@@ -26,7 +30,11 @@ your JavaScript framework taste:
|
|
26
30
|
compass install formalize/prototype
|
27
31
|
compass install formalize/yui
|
28
32
|
|
29
|
-
|
33
|
+
After following the provided instructions, we need to tell Compass to use relative paths so that all our resources load correctly. In config.rb, we uncomment the following line:
|
34
|
+
|
35
|
+
relative_assets = true
|
36
|
+
|
37
|
+
And we're all set!
|
30
38
|
|
31
39
|
|
32
40
|
## License
|
data/compass_formalize.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{compass_formalize}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
|
8
8
|
s.authors = ["Wynn Netherland", "Nathan Smith"]
|
9
|
-
s.date = %q{2011-
|
9
|
+
s.date = %q{2011-06-25}
|
10
10
|
s.description = %q{Compass and Sass port of Nathan Smith's Formalize HTML form normalizer.}
|
11
11
|
s.email = %w{wynn.netherland@gmail.com nathan@sonspring.com}
|
12
12
|
s.files = `git ls-files`.split("\n")
|
data/stylesheets/_formalize.sass
CHANGED
@@ -61,7 +61,7 @@ input[type="button"]
|
|
61
61
|
-webkit-appearance: none
|
62
62
|
+border-radius(11px)
|
63
63
|
+background-clip(padding-box)
|
64
|
-
background: #ddd url(
|
64
|
+
background: #ddd image-url("button.png") repeat-x
|
65
65
|
+linear-gradient(color-stops(#fff, #ddd))
|
66
66
|
border: 1px solid
|
67
67
|
border-color: #ddd #bbb #999
|
@@ -190,7 +190,7 @@ textarea[disabled]
|
|
190
190
|
.is_webkit select
|
191
191
|
// Tweaks for Safari + Chrome.
|
192
192
|
background:
|
193
|
-
image: url(
|
193
|
+
image: image-url("select_arrow.gif")
|
194
194
|
repeat: no-repeat
|
195
195
|
position: right center
|
196
196
|
padding-right: 20px
|
@@ -241,7 +241,7 @@ optgroup
|
|
241
241
|
|
242
242
|
.ie6_button,
|
243
243
|
* html button
|
244
|
-
background: #ddd url(
|
244
|
+
background: #ddd image-url("button.png") repeat-x
|
245
245
|
border: 1px solid
|
246
246
|
border-color: #ddd #bbb #999
|
247
247
|
cursor: pointer
|
@@ -276,4 +276,4 @@ optgroup
|
|
276
276
|
color: #888
|
277
277
|
|
278
278
|
.ie6_input_disabled
|
279
|
-
background: #eee
|
279
|
+
background: #eee
|
@@ -29,7 +29,8 @@ var FORMALIZE = (function(window, document, undefined) {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
// Tweaks for Safari + Chrome.
|
32
|
-
|
32
|
+
// <html class="is_webkit">
|
33
|
+
dojo.addClass(document.documentElement, 'is_webkit');
|
33
34
|
},
|
34
35
|
// FORMALIZE.init.full_input_size
|
35
36
|
full_input_size: function() {
|
@@ -1 +1 @@
|
|
1
|
-
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=parseInt(dojo.isIE,10)===6,h=parseInt(dojo.isIE,10)===7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||dojo.
|
1
|
+
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=parseInt(dojo.isIE,10)===6,h=parseInt(dojo.isIE,10)===7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||dojo.addClass(b.documentElement,"is_webkit")},full_input_size:function(){!!h&&!!dojo.query("textarea, input.input_full").length&&dojo.query("textarea, input.input_full").forEach(function(a){var c=a.cloneNode(!1),d=b.createElement("span");d.className="input_full_wrap",d.appendChild(c),a.parentNode.replaceChild(d,a)})},ie6_skin_inputs:function(){if(!!g&&!!dojo.query("input, select, textarea").length){var a=/button|submit|reset/,b=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;dojo.query("input").forEach(function(c){c.getAttribute("type").match(a)?(dojo.addClass(c,"ie6_button"),c.disabled&&dojo.addClass(c,"ie6_button_disabled")):c.getAttribute("type").match(b)&&(dojo.addClass(c,"ie6_input"),c.disabled&&dojo.addClass(c,"ie6_input_disabled"))}),dojo.query("textarea, select").forEach(function(a){a.disabled&&dojo.addClass(a,"ie6_input_disabled")})}},autofocus:function(){!e&&!!dojo.query("[autofocus]").length&&dojo.query("[autofocus]")[0].focus()},placeholder:function(){!d&&!!dojo.query("[placeholder]").length&&(FORMALIZE.misc.add_placeholder(),dojo.query("[placeholder]").forEach(function(a){dojo.connect(a,"onfocus",function(){var b=a.getAttribute("placeholder");a.value===b&&(a.value="",dojo.removeClass(a,"placeholder_text"))}),dojo.connect(a,"onblur",function(){FORMALIZE.misc.add_placeholder()})}),dojo.query("form").forEach(function(a){dojo.connect(a,"onsubmit",function(){dojo.query("[placeholder]",a).forEach(function(a){var b=a.getAttribute("placeholder");a.value===b&&(a.value="",dojo.removeClass(a,"placeholder_text"))})}),dojo.connect(a,"onreset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}))}},misc:{add_placeholder:function(){!d&&!!dojo.query("[placeholder]").length&&dojo.query("[placeholder]").forEach(function(a){var b=a.getAttribute("placeholder");if(!a.value||a.value===b)a.value=b,dojo.addClass(a,"placeholder_text")})}}}}(this,this.document);dojo.addOnLoad(function(){FORMALIZE.go()})
|
@@ -26,7 +26,8 @@ var FORMALIZE = (function(window, document, undefined) {
|
|
26
26
|
}
|
27
27
|
|
28
28
|
// Tweaks for Safari + Chrome.
|
29
|
-
|
29
|
+
// <html class="is_webkit">
|
30
|
+
Ext.get(document.documentElement).addClass('is_webkit');
|
30
31
|
},
|
31
32
|
// FORMALIZE.init.full_input_size
|
32
33
|
full_input_size: function() {
|
@@ -1 +1 @@
|
|
1
|
-
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=Ext.isIE6,h=Ext.isIE7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||Ext.get(
|
1
|
+
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=Ext.isIE6,h=Ext.isIE7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||Ext.get(b.documentElement).addClass("is_webkit")},full_input_size:function(){!!h&&!!Ext.query("textarea, input.input_full")&&Ext.each(Ext.query("textarea, input.input_full"),function(a){Ext.get(a).wrap('<span class="input_full_wrap"></span>')})},ie6_skin_inputs:function(){if(!!g&&!!Ext.query("input, select, textarea")){var a=/button|submit|reset/,b=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;Ext.each(Ext.query("input"),function(c){c.getAttribute("type").match(a)?(Ext.get(c).addClass("ie6_button"),c.disabled&&Ext.get(c).addClass("ie6_button_disabled")):c.getAttribute("type").match(b)&&(Ext.get(c).addClass("ie6_input"),c.disabled&&Ext.get(c).addClass("ie6_input_disabled"))}),Ext.each(Ext.query("textarea, select"),function(a){a.disabled&&Ext.get(a).addClass("ie6_input_disabled")})}},autofocus:function(){!e&&!!Ext.query("[autofocus]")&&Ext.query("[autofocus]")[0].focus()},placeholder:function(){!d&&!!Ext.query("[placeholder]")&&(FORMALIZE.misc.add_placeholder(),Ext.each(Ext.query("[placeholder]"),function(a){function d(){if(!a.value||a.value===b)a.value=b,Ext.get(a).addClass("placeholder_text")}var b=a.getAttribute("placeholder"),c=Ext.get(a).parent("form");Ext.get(a).on("focus",function(){a.value===b&&(a.value="",Ext.get(a).removeClass("placeholder_text"))}),Ext.get(a).on("blur",function(){FORMALIZE.misc.add_placeholder()}),c.on("submit",function(){a.value===b&&(a.value="",Ext.get(a).removeClass("placeholder_text"))}),c.on("reset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}))}},misc:{add_placeholder:function(){!d&&!!Ext.query("[placeholder]")&&Ext.each(Ext.query("[placeholder]"),function(a){var b=a.getAttribute("placeholder");if(!a.value||a.value===b)a.value=b,Ext.get(a).addClass("placeholder_text")})}}}}(this,this.document);Ext.onReady(function(){FORMALIZE.go()})
|
@@ -29,7 +29,8 @@ var FORMALIZE = (function($, window, document, undefined) {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
// Tweaks for Safari + Chrome.
|
32
|
-
|
32
|
+
// <html class="is_webkit">
|
33
|
+
$(document.documentElement).addClass('is_webkit');
|
33
34
|
},
|
34
35
|
// FORMALIZE.init.full_input_size
|
35
36
|
full_input_size: function() {
|
@@ -1 +1 @@
|
|
1
|
-
var FORMALIZE=function(a,b,c,d){var e="placeholder"in c.createElement("input"),f="autofocus"in c.createElement("input"),g="webkitAppearance"in c.createElement("select").style,h=!!a.browser.msie&&parseInt(a.browser.version,10)===6,i=!!a.browser.msie&&parseInt(a.browser.version,10)===7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!g||a(
|
1
|
+
var FORMALIZE=function(a,b,c,d){var e="placeholder"in c.createElement("input"),f="autofocus"in c.createElement("input"),g="webkitAppearance"in c.createElement("select").style,h=!!a.browser.msie&&parseInt(a.browser.version,10)===6,i=!!a.browser.msie&&parseInt(a.browser.version,10)===7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!g||a(c.documentElement).addClass("is_webkit")},full_input_size:function(){!!i&&!!a("textarea, input.input_full").length&&a("textarea, input.input_full").wrap('<span class="input_full_wrap"></span>')},ie6_skin_inputs:function(){if(!!h&&!!a("input, select, textarea").length){var b=/button|submit|reset/,c=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;a("input").each(function(){var d=a(this);this.getAttribute("type").match(b)?(d.addClass("ie6_button"),this.disabled&&d.addClass("ie6_button_disabled")):this.getAttribute("type").match(c)&&(d.addClass("ie6_input"),this.disabled&&d.addClass("ie6_input_disabled"))}),a("textarea, select").each(function(){this.disabled&&a(this).addClass("ie6_input_disabled")})}},autofocus:function(){!f&&!!a(":input[autofocus]").length&&a(":input[autofocus]:visible:first").focus()},placeholder:function(){!e&&!!a(":input[placeholder]").length&&(FORMALIZE.misc.add_placeholder(),a(":input[placeholder]").each(function(){var b=a(this),c=b.attr("placeholder");b.focus(function(){b.val()===c&&b.val("").removeClass("placeholder_text")}).blur(function(){FORMALIZE.misc.add_placeholder()}),b.closest("form").submit(function(){b.val()===c&&b.val("").removeClass("placeholder_text")}).bind("reset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}))}},misc:{add_placeholder:function(){!e&&!!a(":input[placeholder]").length&&a(":input[placeholder]").each(function(){var b=a(this),c=b.attr("placeholder");(!b.val()||b.val()===c)&&b.val(c).addClass("placeholder_text")})}}}}(jQuery,this,this.document);jQuery(document).ready(function(){FORMALIZE.go()})
|
@@ -29,7 +29,8 @@ var FORMALIZE = (function(window, document, undefined) {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
// Tweaks for Safari + Chrome.
|
32
|
-
|
32
|
+
// <html class="is_webkit">
|
33
|
+
$(document.documentElement).addClass('is_webkit');
|
33
34
|
},
|
34
35
|
// FORMALIZE.init.full_input_size
|
35
36
|
full_input_size: function() {
|
@@ -1 +1 @@
|
|
1
|
-
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=Browser.ie6,h=Browser.ie7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f
|
1
|
+
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=Browser.ie6,h=Browser.ie7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||$(b.documentElement).addClass("is_webkit")},full_input_size:function(){!!h&&!!$$("textarea, input.input_full").length&&$$("textarea, input.input_full").each(function(a){(new Element("span.input_full_wrap")).wraps(a)})},ie6_skin_inputs:function(){if(!!g&&!!$$("input, select, textarea").length){var a=/button|submit|reset/,b=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;$$("input").each(function(c){c.getAttribute("type").match(a)?(c.addClass("ie6_button"),c.disabled&&c.addClass("ie6_button_disabled")):c.getAttribute("type").match(b)&&(c.addClass("ie6_input"),c.disabled&&c.addClass("ie6_input_disabled"))}),$$("textarea, select").each(function(a){a.disabled&&a.addClass("ie6_input_disabled")})}},autofocus:function(){!e&&!!$$("[autofocus]").length&&$$("[autofocus]")[0].focus()},placeholder:function(){!d&&!!$$("[placeholder]").length&&(FORMALIZE.misc.add_placeholder(),$$("[placeholder]").each(function(a){var b=a.get("placeholder");a.addEvents({focus:function(){a.value===b&&a.set("value","").removeClass("placeholder_text")},blur:function(){FORMALIZE.misc.add_placeholder()}}),a.getParent("form").addEvents({submit:function(){a.value===b&&a.set("value","").removeClass("placeholder_text")},reset:function(){setTimeout(FORMALIZE.misc.add_placeholder,50)}})}))}},misc:{add_placeholder:function(){!d&&!!$$("[placeholder]").length&&$$("[placeholder]").each(function(a){var b=a.get("placeholder");(!a.value||a.value===b)&&a.set("value",b).addClass("placeholder_text")})}}}}(this,this.document);$(document).addEvent("domready",function(){FORMALIZE.go()})
|
@@ -36,7 +36,8 @@ var FORMALIZE = (function(window, document, undefined) {
|
|
36
36
|
}
|
37
37
|
|
38
38
|
// Tweaks for Safari + Chrome.
|
39
|
-
|
39
|
+
// <html class="is_webkit">
|
40
|
+
$(document.documentElement).addClassName('is_webkit');
|
40
41
|
},
|
41
42
|
// FORMALIZE.init.full_input_size
|
42
43
|
full_input_size: function() {
|
@@ -1 +1 @@
|
|
1
|
-
var FORMALIZE=function(a,b,c){function i(a){var c=b.createElement("b");c.innerHTML="<!--[if IE "+a+"]><br><![endif]-->";return!!c.getElementsByTagName("br").length}var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=i(6),h=i(7);return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f
|
1
|
+
var FORMALIZE=function(a,b,c){function i(a){var c=b.createElement("b");c.innerHTML="<!--[if IE "+a+"]><br><![endif]-->";return!!c.getElementsByTagName("br").length}var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=i(6),h=i(7);return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||$(b.documentElement).addClassName("is_webkit")},full_input_size:function(){!!h&&!!$$("textarea, input.input_full").length&&$$("textarea, input.input_full").each(function(a){Element.wrap(a,"span",{"class":"input_full_wrap"})})},ie6_skin_inputs:function(){if(!!g&&!!$$("input, select, textarea").length){var a=/button|submit|reset/,b=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;$$("input").each(function(c){c.getAttribute("type").match(a)?(c.addClassName("ie6_button"),c.disabled&&c.addClassName("ie6_button_disabled")):c.getAttribute("type").match(b)&&(c.addClassName("ie6_input"),c.disabled&&c.addClassName("ie6_input_disabled"))}),$$("textarea, select").each(function(a){a.disabled&&a.addClassName("ie6_input_disabled")})}},autofocus:function(){!e&&!!$$("[autofocus]").length&&$$("[autofocus]")[0].focus()},placeholder:function(){!d&&!!$$("[placeholder]").length&&(FORMALIZE.misc.add_placeholder(),$$("[placeholder]").each(function(a){var b=a.getAttribute("placeholder"),c=a.up("form");a.observe("focus",function(){a.value===b&&(a.value="",a.removeClassName("placeholder_text"))}),a.observe("blur",function(){FORMALIZE.misc.add_placeholder()}),c.observe("submit",function(){a.value===b&&(a.value="",a.removeClassName("placeholder_text"))}),c.observe("reset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}))}},misc:{add_placeholder:function(){!d&&!!$$("[placeholder]").length&&$$("[placeholder]").each(function(a){var b=a.getAttribute("placeholder");if(!a.value||a.value===b)a.value=b,a.addClassName("placeholder_text")})}}}}(this,this.document);$(document).observe("dom:loaded",function(){FORMALIZE.go()})
|
@@ -29,7 +29,8 @@ var FORMALIZE = (function(window, document, undefined) {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
// Tweaks for Safari + Chrome.
|
32
|
-
|
32
|
+
// <html class="is_webkit">
|
33
|
+
Y.one(document.documentElement).addClass('is_webkit');
|
33
34
|
},
|
34
35
|
// FORMALIZE.init.full_input_size
|
35
36
|
full_input_size: function() {
|
@@ -1 +1 @@
|
|
1
|
-
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=parseInt(Y.UA.ie,10)===6,h=parseInt(Y.UA.ie,10)===7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||Y.one(
|
1
|
+
var FORMALIZE=function(a,b,c){var d="placeholder"in b.createElement("input"),e="autofocus"in b.createElement("input"),f="webkitAppearance"in b.createElement("select").style,g=parseInt(Y.UA.ie,10)===6,h=parseInt(Y.UA.ie,10)===7;return{go:function(){for(var a in FORMALIZE.init)FORMALIZE.init[a]()},init:{detect_webkit:function(){!f||Y.one(b.documentElement).addClass("is_webkit")},full_input_size:function(){!!h&&!!Y.all("textarea, input.input_full")&&Y.all("textarea, input.input_full").each(function(a){var b=Y.Node.create('<span class="input_full_wrap"></span>');b.append(a.replace(b))})},ie6_skin_inputs:function(){if(!!g&&!!Y.all("input, select, textarea")){var a=/button|submit|reset/,b=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;Y.all("input").each(function(c){c.getAttribute("type").match(a)?(c.addClass("ie6_button"),c.disabled&&c.addClass("ie6_button_disabled")):c.getAttribute("type").match(b)&&(c.addClass("ie6_input"),c.disabled&&c.addClass("ie6_input_disabled"))}),Y.all("textarea, select").each(function(a){a.disabled&&a.addClass("ie6_input_disabled")})}},autofocus:function(){!e&&!!Y.one("[autofocus]")&&Y.one("[autofocus]").focus()},placeholder:function(){!d&&!!Y.one("[placeholder]")&&(FORMALIZE.misc.add_placeholder(),Y.all("[placeholder]").each(function(a){function d(){(!a.get("value")||a.get("value")===b)&&a.set("value",b).addClass("placeholder_text")}var b=a.getAttribute("placeholder"),c=a.ancestor("form");a.on("focus",function(){a.get("value")===b&&a.set("value","").removeClass("placeholder_text")}),a.on("blur",function(){FORMALIZE.misc.add_placeholder()}),c.on("submit",function(){a.get("value")===b&&a.set("value","").removeClass("placeholder_text")}),c.on("reset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}))}},misc:{add_placeholder:function(){!d&&!!Y.one("[placeholder]")&&Y.all("[placeholder]").each(function(a){var b=a.getAttribute("placeholder");(!a.get("value")||a.get("value")===b)&&a.set("value",b).addClass("placeholder_text")})}}}}(this,this.document);Y.on("domready",function(){FORMALIZE.go()})
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass_formalize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wynn Netherland
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-06-25 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|