Permalink
Browse files

changed delete to destroy in model

  • Loading branch information...
1 parent 844823d commit 66ea12231fe2f3a1b8c4e7c1fd1a98d3b95fbed3 @gushov committed Dec 7, 2012
Showing with 6 additions and 6 deletions.
  1. +2 −2 dist/lilmodel.js
  2. +2 −2 dist/lilmodel.min.js
  3. +1 −1 lib/lilmodel/model.js
  4. +1 −1 package.json
View
@@ -1,4 +1,4 @@
-/*! lilmodel - v0.0.3 - 2012-12-07
+/*! lilmodel - v0.0.5 - 2012-12-07
* Copyright (c) 2012 August Hovland <gushov@gmail.com>; Licensed MIT */
(function (ctx) {
@@ -549,7 +549,7 @@ module.exports = LilObj.extend({
destroy: function (next, ctx) {
var sync = syncr();
- sync('delete', this, next.bind(ctx));
+ sync('destroy', this, next.bind(ctx));
}
});
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -99,7 +99,7 @@ module.exports = LilObj.extend({
destroy: function (next, ctx) {
var sync = syncr();
- sync('delete', this, next.bind(ctx));
+ sync('destroy', this, next.bind(ctx));
}
});
View
@@ -2,7 +2,7 @@
"author": "August Hovland <gushov@gmail.com>",
"name": "lilmodel",
"description": "A li'l model wrapper",
- "version": "0.0.4",
+ "version": "0.0.5",
"repository": {
"type": "git",
"url": "git://github.com/gushov/lilmodel.git"

0 comments on commit 66ea122

Please sign in to comment.