mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-25 05:54:51 -05:00
Use hero instead of this. Also use published aether package.
This commit is contained in:
parent
3baea9683c
commit
3b4433e312
3 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ module.exports = class DocFormatter
|
||||||
@doc.owner ?= 'this'
|
@doc.owner ?= 'this'
|
||||||
ownerName = @doc.ownerName = if @doc.owner isnt 'this' then @doc.owner else switch @options.language
|
ownerName = @doc.ownerName = if @doc.owner isnt 'this' then @doc.owner else switch @options.language
|
||||||
when 'python', 'lua' then 'self'
|
when 'python', 'lua' then 'self'
|
||||||
when 'java' then 'this'
|
when 'java' then 'hero'
|
||||||
when 'coffeescript' then '@'
|
when 'coffeescript' then '@'
|
||||||
else 'this'
|
else 'this'
|
||||||
if @doc.type is 'function'
|
if @doc.type is 'function'
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
"firepad": "~0.1.2",
|
"firepad": "~0.1.2",
|
||||||
"marked": "~0.3.0",
|
"marked": "~0.3.0",
|
||||||
"moment": "~2.5.0",
|
"moment": "~2.5.0",
|
||||||
"aether": "git://github.com/codecombat/aether.git#cashew",
|
"aether": "~0.4.0",
|
||||||
"underscore.string": "~2.3.3",
|
"underscore.string": "~2.3.3",
|
||||||
"firebase": "~1.0.2",
|
"firebase": "~1.0.2",
|
||||||
"d3": "~3.4.4",
|
"d3": "~3.4.4",
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"JQDeferred": "~2.1.0",
|
"JQDeferred": "~2.1.0",
|
||||||
"ace-builds": "https://github.com/ajaxorg/ace-builds/archive/3fb55e8e374ab02ce47c1ae55ffb60a1835f3055.tar.gz",
|
"ace-builds": "https://github.com/ajaxorg/ace-builds/archive/3fb55e8e374ab02ce47c1ae55ffb60a1835f3055.tar.gz",
|
||||||
"aether": "git://github.com/codecombat/aether.git#cashew",
|
"aether": "~0.4.0",
|
||||||
"async": "0.2.x",
|
"async": "0.2.x",
|
||||||
"aws-sdk": "~2.0.0",
|
"aws-sdk": "~2.0.0",
|
||||||
"bayesian-battle": "0.0.x",
|
"bayesian-battle": "0.0.x",
|
||||||
|
|
Loading…
Reference in a new issue