Skip to content

Commit 3c373ee

Browse files
committed
lint
1 parent ef7f4f4 commit 3c373ee

File tree

7 files changed

+12
-163
lines changed

7 files changed

+12
-163
lines changed

docs/components/docs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var React = require('react')
2020
, NumberPicker = require('./pages/NumberPicker.api.md')
2121
, Migration = require('./pages/Migration.jsx')
2222
, Advanced = require('./pages/Advanced.jsx')
23-
, Locale = require('./pages/i18n.MD');
23+
, Locale = require('./pages/i18n.md');
2424

2525
require('../vendor/codemirror.css')
2626
require('../vendor/neo.css')

docs/components/pages/i18n.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,13 @@ An Object implementing the following api.
194194
#### required formats
195195
_Localizers must provide default values for each required format._
196196

197-
- `default` The number picker display format
197+
- `default` The number picker display format.
198198

199199
#### `propType` (optional)
200-
A React PropType that is used to validate the number formats
200+
A React PropType that is used to validate the number formats.
201201

202202
#### `parse`
203-
Convert a locale specific string to a JavaScript Number
203+
Convert a locale specific string to a JavaScript Number.
204204
```
205205
function(
206206
value: string,
@@ -210,14 +210,13 @@ function(
210210
```
211211

212212
#### `format`
213-
Convert a Number to a locale specific string
213+
214+
Convert a Number to a locale specific string.
215+
214216
```
215217
function(
216218
value: Date?,
217219
format: string|object,
218220
culture: string?
219221
) -> string
220-
```
221-
222-
223-
</section>
222+
```

src/mixins/ListMovementMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515

1616
last() {
1717
var data = this._data()
18-
return data[data.length-1]
18+
return data[data.length - 1]
1919
},
2020

2121
prev(item, word) {

src/util/_.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var _ =
8080
noop(){},
8181

8282
uniqueId (prefix) {
83-
return ''+ ((prefix == null ? '' : prefix) + (++idCount));
83+
return '' + ((prefix == null ? '' : prefix) + (++idCount));
8484
},
8585

8686
//-- Really specific Component Utilities --

src/util/dom/animate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function animate(node, properties, duration, easing, callback){
4545

4646
for(var key in properties) if ( has.call(properties, key) ) {
4747
if( /(top|bottom)/.test(key) )
48-
transforms += TRANSLATION_MAP[key] +'(' + properties[key] + ') '
48+
transforms += TRANSLATION_MAP[key] + '(' + properties[key] + ') '
4949
else {
5050
cssValues[key] = properties[key]
5151
cssProperties.push(hyphenate(key))

src/util/validateListInterface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function validateListComponent(list){
55

66
if( process.env.NODE_ENV !== 'production' ){
77
METHODS.forEach( method =>
8-
assert(typeof list[method] === 'function', 'List components must implement a `' + method +'()` method') )
8+
assert(typeof list[method] === 'function', 'List components must implement a `' + method + '()` method') )
99
}
1010
}
1111

test.jsx

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)