Skip to content

Instantly share code, notes, and snippets.

@Seich
Created February 9, 2013 18:41
Show Gist options
  • Save Seich/4746517 to your computer and use it in GitHub Desktop.
Save Seich/4746517 to your computer and use it in GitHub Desktop.
;(function(namespace, undefined) {
'use strict';
var ModelName = can.Model({
findOne : 'GET /getModel'
}, {});
namespace.Models = namespace.Models || {};
namespace.Models.ModelName = ModelName;
}(this));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment