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
window.fbAsyncInit = -> | |
FB.init | |
appId: '0123456789' # App ID | |
channelUrl: "//#{ window.location.hostname }/channel.html" # Channel File | |
status: true # Check login status | |
cookie: true # Enable cookies to allow the server to access the session | |
xfbml: true # parse XFBML | |
frictionlessRequests: true # Enable frictionless Request dialogs | |
# Application-specific initialization code goes here |
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
(function () | |
{ | |
if (!Function.prototype.inherit) | |
{ | |
Function.prototype.inherit = function (p_parent) | |
{ | |
if (p_parent.constructor == Function) | |
{ | |
// Normal Inheritance | |
this.prototype = new p_parent(); |
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
/** | |
* JavaScript implementation of a Proxy class. | |
**/ | |
function Proxy(p_target) | |
{ | |
var self = this; | |
self.target = p_target; | |
// Access target's properties | |
self.get = function (p_property) |
NewerOlder