Created
December 5, 2012 16:53
-
-
Save jcreamer898/4217367 to your computer and use it in GitHub Desktop.
Using monologue.js
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
pane.on( "click.shares", "#versions", function() { | |
fileRecord.displayVersions(function( records ) { | |
fileRecord.emit( "versions.retrieved", { | |
records: records | |
}); | |
}); | |
}); | |
pane.on( "click.shares", "#sharing", function() { | |
fileRecord.displayVersions(function(records) { | |
fileRecord.emit( "shares.retrieve", { | |
records: records | |
}); | |
}); | |
}); | |
pane.on( "click.shares", "#activities", function() { | |
fileRecord.displayHistory(function( records ) { | |
fileRecord.emit( "activities.retrieved", { | |
recores: records | |
}); | |
}); | |
}); | |
fileRecord.on( "versions.retrieved", displayVersions ); | |
fileRecord.on( "shares.retrieved", displayShares); | |
fileRecord.on( "activities.retrieved", displayActivities ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment