Skip to content

Commit

Permalink
Moving the delegate to the util section
Browse files Browse the repository at this point in the history
  • Loading branch information
clarete committed Sep 10, 2010
1 parent 5aac8a9 commit 3263373
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions couchdb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ local Database = {session=nil, name=nil}

local Document = {id=nil, rev=nil, schema=nil}

-- util

local function delegate(parent)
local obj = {}
Expand All @@ -37,9 +38,6 @@ local function delegate(parent)
return obj
end


-- util

function select(tb, fun)
local ret = {}
for k,v in pairs(tb) do
Expand Down

0 comments on commit 3263373

Please sign in to comment.