You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Help Document Object, Function, and other built-in objects #399
3. Click on one of the programmable.UsesXYZ Components.
4. Click the Component's Settings sub-tab.
5. Open the Property Documentation at the bottom.
6. Document the standard properties from the MDN docs.
Look at programmable.UsesMath for a good example. You can use Markdown. Try to keep things short, though, since the documentation goes into a little popover. Rewrite examples to make sense according to CodeCombat's programming environment when possible.
7. Add the property names to the Config Schema subtab, too.
_You'll want all the property names to be in the programmable_Propertiesenum, and the most useful ones to be in thedefault array.*
8. Click "Save" to submit a patch (upper right).
If you get really ambitious (see also #1237), each piece of property documentation might need its syntax updated to fit with Python, CoffeeScript, Clojure, Lua, or Io–you can submit patches that add those syntax translations by changing the schema selection from a single value to an array of values by language:
Activity
krans4u commentedon Feb 28, 2014
I am documenting UsesObject Component
krans4u commentedon Feb 28, 2014
@nwinter I sent you the JSON content of programming.UsesObjects component to [email protected]. - Karan Dhamele
makertech81 commentedon Sep 10, 2014
I'm doing Uses RegExpression.
makertech81 commentedon Sep 10, 2014
I am now doing Programming.Programmable because RegExp wasn't there. @nwinter Why is that?
makertech81 commentedon Sep 10, 2014
I am back to RegExp Sorry