Skip to content

Instantly share code, notes, and snippets.

window.addEvent('domready', function(){
var client = new APE.Move({'container':$('ape_master_container')});
client.load({
'domain':APE.Config.domain,
'server':APE.Config.server,
'identifier':'movedemo',
'channel':'move',
'complete':function(ape){
ape.start([rand_chars()]);
},
ar APE_Handler_Base = new Class({
Implements: [APE.Client, Options],
options: {
userEvents: [],
userProps: {}
},
initialize: function(core, userClass, options){
Element.Properties.store = {
set: function(props){
for (var p in props) this.store(p, props[p]);
return this;
}
};