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 HTTPS = require('https'); | |
| var QueryString = require('querystring'); | |
| /** | |
| * Facebook API Wrapper | |
| * @constructor | |
| * @param {Object} info Info about the Facebook application | |
| */ | |
| var Client = function (info) { | |
| if (!info.id) { |
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
| // | |
| // NSColor+CGColor.m | |
| // | |
| // Created by Michael Sanders on 11/19/10. | |
| // | |
| #import "NSColor+CGColor.h" | |
| @implementation NSColor (CGColor) |
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
| /* Abstract event binding | |
| Example: | |
| var MyEventEmitter = function(){}; | |
| MyEventEmitter.prototype = new AbstractEventsDispatcher; | |
| var emitter = new MyEventEmitter(); | |
| // Bind to single event | |
| emitter.bind('foo_event', function(data){ alert(data)} ); |
NewerOlder