Skip to content

Commit

Permalink
new local self
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmmc committed Sep 29, 2018
1 parent 293327d commit 4e6436f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
24 changes: 0 additions & 24 deletions lua-promise-0.1-2.rockspec

This file was deleted.

6 changes: 3 additions & 3 deletions lua-promise-0.1-1.rockspec → lua-promise-0.1-3.rockspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package = "lua-promise"
version = "0.1-1"
version = "0.1-3"

source = {
url = "https://github.com/hjmmc/lua-promise/archive/0.1-1.tar.gz",
dir = "lua-promise-0.1-1"
url = "https://github.com/hjmmc/lua-promise/archive/0.1-3.tar.gz",
dir = "lua-promise-0.1-3"
}

description = {
Expand Down
2 changes: 1 addition & 1 deletion lua-promise.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Promise = {
Promise.__index = Promise

function Promise.new(excutor)
self = {}
local self = {}
setmetatable(self, Promise)

local _resolve = function (value)
Expand Down

0 comments on commit 4e6436f

Please sign in to comment.