Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- start: function() {
- Backbone.history.start({pushState: true});
- },
- initialize: function() {
- $.ajaxPrefilter( function( options, originalOptions, jqXHR ) {
- options.url = options.url;
- });
- }
- var _wl = new MyModel();
- _wl.save(_item,{
- success: function(res) {
- console.log(res);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement