Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Radio} from 'backbone.radio';
- import {Note} from './models/note';
- Radio.request('notify', 'show:success', 'Calling request works!');
- Radio.trigger('notes', 'created', new Note({text: 'Created a note!'});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement