- Install Refined-Hybrid theme using Package Control
- Install Tomorrow Color Schemes using Package Control
- Set Theme to Refined-Hybrid
- Preferences -> Settings-User
- change "theme" to Refined-Hybrid.sublime-theme. Your theme line should look like this:
"theme": "Refined-Hybrid.sublime-theme"
- Set Color Scheme to Tomorrow Night
- Preferences -> Color Scheme -> Tomorrow Color Schemes -> Tomorrow-Night
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
//create a var for tracking if the element | |
//is currently moving or not | |
var moving = false; | |
$('a').on('click', function(){ | |
var moveMe = $('#moveMe'); | |
//if the element is moving clear the queue | |
//and stop the animation | |
if( moving ){ |
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
$( 'a' ).on( 'click', function(){ | |
var moveMe = $( '#moveMe' ); | |
moveMe.slideUp(1500,updateQueueCount) | |
.slideDown(1500,updateQueueCount) | |
.slideUp(1500,updateQueueCount) | |
.slideDown(1500,updateQueueCount); | |
updateQueueCount(); |
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
<script src="https://traceur-compiler.googlecode.com/git/bin/traceur.js" type="text/javascript"></script> | |
<script src="https://traceur-compiler.googlecode.com/git/src/bootstrap.js" type="text/javascript"></script>` |
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
<script type="script/traceur"> | |
module carFactory{ | |
//module code here | |
} | |
</script> |
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 car = (function() { | |
"use strict"; | |
return Object.preventExtensions(Object.create(null, {})); | |
}).call(this); //binds this to the global object inside the module |
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
<cfscript> | |
var getFilings = makeFilingGetter(filing, | |
password, | |
username, | |
filingEndpoint, | |
attachmentEndpoint); | |
var results = getFilings("COMPANY", | |
filter, | |
variables.serffFields); |
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
<cfscript> | |
private Function function makeFilingGetter(Any filing, | |
String password, | |
String username, | |
String filingEndpoint, | |
String attachmentEndpoint){ | |
return function(String entity, String filter, String fields){ | |
return filing.getFilings(username, |
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
<cfscript> | |
test = new test(); | |
addOne = test.makeAdder(1); | |
addFive = test.makeAdder(5); | |
writeOutput( addOne( 1 ) ); //2 | |
writeOutput( addOne( 2 ) ); //3 | |
writeOutput( addFive( 1 ) ); //6 |
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
<cfscript> | |
public Function function makeAdder(a){ | |
return function (b){ | |
return a + b; | |
}; | |
} | |
</cfscript> |