Add space-before-blocks rules, fix code

This commit is contained in:
Paul O’Shannessy committed 2015-02-12 14:28:01 -08:00
1 parent a411f3e0dc
commit af8ad59a5b
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ rules:
consistent-return: 2
no-unused-vars: [2, args: none]
quotes: [2, 'single']
space-before-blocks: 2
# WARNINGS
# This is the only one that's hard to track since we don't lint just changes.
+1 -1
View File
@@ -328,7 +328,7 @@ var ReactBrowserEventEmitter = assign({}, ReactEventEmitterMixin, {
*
* @see http://www.quirksmode.org/dom/events/scroll.html
*/
ensureScrollValueMonitoring: function(){
ensureScrollValueMonitoring: function() {
if (!isMonitoringScrollValue) {
var refresh = ViewportMetrics.refreshScrollValues;
ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);