Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refactor html5-input-types. Version bump to 0.1.9

  • Loading branch information...
commit c7027db88819393b6bcd58030dd65ad58ae4629c 1 parent 2c7c527
Phil LaPier authored
View
18 app/assets/stylesheets/addons/_html5-input-types.scss
@@ -20,18 +20,10 @@ $inputs-list: 'input[type="email"]',
'input[type="time"]',
'input[type="week"]';
-$list-count: 0;
-$unquoted-inputs-list: false;
+$unquoted-inputs-list: ();
@each $input-type in $inputs-list {
- @if $list-count == 0 {
- $unquoted-inputs-list: unquote($input-type);
- $list-count: $list-count + 1;
- }
-
- @else if $list-count > 0 {
- $unquoted-inputs-list: join($unquoted-inputs-list, unquote($input-type), comma);
- }
+ $unquoted-inputs-list: append($unquoted-inputs-list, unquote($input-type), comma);
}
$all-text-inputs: $unquoted-inputs-list;
@@ -39,6 +31,6 @@ $all-text-inputs: $unquoted-inputs-list;
// You must use interpolation on the variable:
// #{$all-text-inputs}
//************************************************************************//
-// #{$all-text-inputs}, textarea {
-// border: 1px solid green;
-// }
+// #{$all-text-inputs}, textarea {
+// border: 1px solid red;
+// }
View
2  lib/bourbon/version.rb
@@ -1,3 +1,3 @@
module Bourbon
- VERSION = "0.1.8"
+ VERSION = "0.1.9"
end
Please sign in to comment.
Something went wrong with that request. Please try again.