Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Clean lint #26

Merged
merged 2 commits into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 26, 2013
  1. @jamesstrate

    fix lint errors

    jamesstrate authored
  2. @jamesstrate
This page is out of date. Refresh to see the latest.
View
5 src/css/button.css
@@ -10,13 +10,10 @@ a.button {
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
+ -ms-user-select: none;
user-select: none;
background-color:#eee;
-
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
vertical-align:top;
text-decoration:none;
}
View
6 src/css/calendar.css
@@ -1,6 +1,10 @@
.calendar {
- user-select: none;
-webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -o-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
text-transform:capitalize;
}
View
3  src/css/checkbox.css
@@ -46,9 +46,6 @@
.checkbox,
.checkbox .checkmark,
.checkbox .label {
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
vertical-align:top;
}
View
3  src/css/link.css
@@ -1,9 +1,6 @@
.link {
position:relative;
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
vertical-align:middle;
line-height:30px;
}
View
1  src/css/menu.css
@@ -40,7 +40,6 @@
display:block;
background-color:#fff;
height:28px;
- vertical-align:middle;
}
.menu li a span {
View
3  src/css/pulldown.css
@@ -1,10 +1,7 @@
.pulldown {
position:relative;
height:30px;
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
}
.pulldown.placeholder {
View
6 src/css/radio_group.css
@@ -36,10 +36,7 @@
}
.radio_group li a.choice {
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
vertical-align:top;
}
@@ -52,8 +49,5 @@
.radio_group .mark,
.radio_group li,
.radio_group .label {
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
}
View
2  src/css/scroller.css
@@ -61,7 +61,7 @@
position:absolute;
right:0;
left:0;
- bottom:0px;
+ bottom:0;
height:10px;
background-color:#555;
}
View
3  src/css/tab_set.css
@@ -11,10 +11,7 @@
margin:0 5px 0 0;
height:28px;
line-height:30px;
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
}
.tab_set .tab.selected,
View
3  src/css/table_view.css
@@ -33,9 +33,6 @@
padding:5px;
}
-.table_view tr.first .wrapper {
-}
-
.table_view .content td {
white-space:nowrap;
overflow:hidden;
View
3  src/css/text_area.css
@@ -2,10 +2,7 @@
position:relative;
border:1px solid #666;
background-color:#fff;
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
vertical-align:top;
}
View
3  src/css/text_field.css
@@ -4,10 +4,7 @@
width:200px;
height:28px;
background-color:#fff;
- /* inline-block with IE7 hack */
display: inline-block;
- zoom: 1;
- *display: inline;
vertical-align:top;
}
View
7 src/js/input_event.js
@@ -7,6 +7,11 @@
MIT license
www.opensource.org/licenses/mit-license.php
*/
+
+/*jshint eqeqeq:false */
+/*jshint asi:true */
+/*jshint undef:false */
+/*jshint shadow:true */
if(window.jQuery) {
(function($, udf) {
var ns = ".inputEvent ",
@@ -33,7 +38,7 @@ if(window.jQuery) {
function isSupported(elem) {
return $(elem).prop('contenteditable') == "true" ||
elem.tagName in supported;
- };
+ }
$.event.special.txtinput = {
setup: function(data, namespaces, handler) {
View
2  src/js/tab_set.js
@@ -101,7 +101,7 @@
// returns the index of the selectedTab
// or -1 if no tab is selected
getActiveTab : function(){
- return _(this._tabs).indexOf(_(this._tabs).find(function(tab){ return $(tab).hasClass('selected') }));
+ return _(this._tabs).indexOf(_(this._tabs).find(function(tab){ return $(tab).hasClass('selected'); }));
}
});
}());
Something went wrong with that request. Please try again.