emmetio / sublime-tern

TernJS plugin for Sublime Text
222 stars 13 forks source link

adding more def's #37

Open sononix opened 10 years ago

sononix commented 10 years ago

hi there Im wondering how would you add more defs taken underscore as an example

here is an actionscript.json file I was using as a test case { "!name": "actionscript", "action": { "!doc": "Save the previous value of the _ variable.", "!type": "fn(obj: ?) -> +_", "VERSION": { "!type": "string", "!url": "http://underscorejs.org/#VERSION" }, ".licence": { "!doc": "Returns a function that will only be executed after being called N times.", "!url": "http://", "!type": "fn(times: number, func: fn()) -> !1" } } }

it seems some other file needs to be modified, any ideas M