Skip to content

Commit

Permalink
README: Update the example to reflect changes to MiddleClass
Browse files Browse the repository at this point in the history
Version 3.0.0 of MiddleClass no longer creates a global ‘class’ object
and so in the example we must create it locally.
  • Loading branch information
Eric James Michael Ritz committed Sep 19, 2013
1 parent 6e71aa1 commit ee81c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ and triggering events, and adding and removing actions.
--
-- https://github.com/kikito/middleclass
--
require "middleclass"
local class = require "middleclass"

local Luvent = require "Luvent"
local Enemy = class("Enemy")
Expand Down

0 comments on commit ee81c03

Please sign in to comment.