This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import tokenize | |
class DoubleQuotesChecker: | |
msg = "single quotes detected, use double quotes instead" | |
def __init__(self): | |
self.violations = [] | |
def find_violations(self, filename, tokens): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var JQuerySlide = React.createClass({ | |
componentWillEnter: function(callback){ | |
var $el = $(this.getDOMNode()) | |
$el.slideDown(function(){ | |
callback(); | |
}); | |
}, | |
componentWillLeave: function(callback){ | |
var $el = $(this.getDOMNode()); | |
$el.slideUp(function(){ |