Permalink
Browse files

Fucking refactoring

  • Loading branch information...
1 parent 2a6c746 commit 25de8cb9b4125aac6bed1200bf515fcc7333f824 mde committed Nov 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/adapters/riak/index.js
@@ -308,11 +308,11 @@ utils.mixin(Adapter.prototype, new (function () {
insert = function () {
var item;
if ((item = items.shift())) {
- var url;
+ var url
+ , requestOpts;
id = utils.string.uuid();
- url = '/riak/' + bucket + '/' + id
- , requestOpts;
+ url = '/riak/' + bucket + '/' + id;
item.id = id;
item = item.toData({whitelist: ['id', 'createdAt']});

0 comments on commit 25de8cb

Please sign in to comment.