Skip to content

Instantly share code, notes, and snippets.

@nchanged
Created June 15, 2016 09:28
Show Gist options
  • Save nchanged/a78a065e87e37ec85529885f6413aee1 to your computer and use it in GitHub Desktop.
Save nchanged/a78a065e87e37ec85529885f6413aee1 to your computer and use it in GitHub Desktop.
realm.module("app.services.ToDo", ["realm.router.BridgeRequest"], function(BridgeRequest) {
var $_exports;
$_exports = {
'add': function() {
return BridgeRequest.connect("app.services.ToDo", "add", arguments)
}
}
return $_exports;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment