When a beginner asks you "when do I use semi-colons?" would you rather say this?
// what people who say "use semicolons!!" say
class Foo {
prop = {
}; // yesWhen a beginner asks you "when do I use semi-colons?" would you rather say this?
// what people who say "use semicolons!!" say
class Foo {
prop = {
}; // yes| <span | |
| ng-click="add()" | |
| class="icon icon__plus" | |
| >Hello World!</span> |
| #Run with casperjs test translate.coffee | |
| casper.start 'http://translate.google.com/', -> | |
| @sendKeys '#source', 'Guten Tag' | |
| @then -> | |
| @click '#gt-submit' | |
| @waitForText 'Good day' | |
| @then -> | |
| @test.assertSelectorHasText '#result_box', 'Good day' | |
| @then -> |
| $(function() { | |
| setInterval(function() { | |
| $(".reloadable").each(function(i) { | |
| var originalSrc = $(this).data('originalSrc'); | |
| if (!originalSrc) { | |
| originalSrc = $(this).attr('src'); | |
| $(this).data('originalSrc', originalSrc); | |
| } | |
| $(this).attr('src', originalSrc + '&hack=' + (new Date().getTime())); | |
| }); |
| .mouse, #preview{ | |
| position: absolute; | |
| background-repeat: no-repeat; | |
| height: 22px; | |
| min-width: 15px; | |
| z-index: 100; | |
| } | |
| .mouse{ | |
| background-image: url('../images/cursor.png'); |