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
// Part 1: Function | |
// Goal: implement the indexOf method. | |
// ----------------------------------- | |
// usage: | |
var colors = ['orange', 'red', 'green']; | |
indexOf(colors, 'green'); // => 2 | |
indexOf(colors, 'purple'); // => -1 |
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 thing = { | |
invoices: [ | |
{ | |
status: '', | |
name: '', | |
userID: '', | |
paymentID: '', | |
invoiceID: '', | |
blockorderID: '', | |
projectID: '', |
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
# Mac Users: | |
- Make sure you have XCode installed. It's available in the App Store. | |
- If you are running something before OSX Mavericks, you may also need to install the **Command Line Tools**: | |
1. Start Xcode on the Mac. | |
2. Choose Preferences from the Xcode menu. | |
3. In the General panel, click Downloads. | |
4. On the Downloads window, choose the Components tab. | |
5. Click the Install button next to Command Line Tools. (if you do not see it there, it may already be installed) | |
6. You may need to restart your computer once it's complete to take affect. |
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
// link this file (or paste in) to the fiddle for easy logging in the document. | |
window.console.log = function() { | |
var args = Array.prototype.slice.call(arguments,0); | |
args.map(function(arg) { | |
var d = document.createElement('div'); | |
d.innerHTML = arg; | |
return document.body.appendChild(d); | |
}); | |
} |
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
/*global jQuery, $ */ | |
/*jshint laxcomma:true */ | |
// ^- jshint settings | |
// ****************************** | |
//* Tooltip Plugin | |
//* Built by: Kristi Centinaro | |
//* Inspired by Bootstrap's jQuery tooltip plugin, | |
//* but with SEMICOLONS. <3 | |
//* v1.0 - Feb 2013 - basic functionality. | |
// ****************************** |
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
<?xml version="1.0" ?> | |
<olConfig> | |
<olConfigItem gameName = "Wow" processName = "wow.exe" cursor = "" autoStart="0"> | |
<olWnd flash = "XOverlayMainLoader.swf" autofit = "1"></olWnd> | |
</olConfigItem> | |
<olConfigItem gameName = "War3" processName = "war3.exe" cursor = "" autoStart="1"> | |
<olWnd flash = "XOverlayMainLoader.swf" autofit = "1"></olWnd> | |
</olConfigItem> | |
<olConfigItem gameName = "CrossFire" processName = "crossfire.exe" cursor = ""> | |
<olWnd flash = "XOverlayMainLoader.swf" autofit = "1"></olWnd> |