This file contains hidden or 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 filter; | |
(function () { | |
filter = function (searchBox, targetClass) { | |
var value = searchBox.value; | |
var hiddenClass = targetClass + "SearchHidden"; | |
//Nothing in the box, remove <targetclass>searchhidden class | |
if (value.length < 1) { | |
$("." + hiddenClass).removeClass(hiddenClass); |
This file contains hidden or 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
brogrammer theme | |
GitGutter | |
meteor autocomplete (ternjs) | |
color highlighter | |
LESS | |
javascript next ES6 | |
handlebars | |
sublimelinter | |
sublimelinter-jshint |
This file contains hidden or 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
<html> | |
<head> | |
<title>JsTestBed</title> | |
</head> | |
<body> | |
<h2>"Async" test</h2> | |
<p> | |
In JavaScript, asynchronous calls are a lie!<br /> | |
What actually happens is the setTimeout(func, 0); gets put on the end of the call list.<br /> | |
Any direct javascript functions will get prioritised and run before the function in the timeout. |
NewerOlder