From 052f73cf3c0d2397bbd711ea8b8ba5f590ad7f81 Mon Sep 17 00:00:00 2001 From: Ian Daniher Date: Mon, 20 Aug 2012 00:42:33 -0400 Subject: [PATCH] fix listPkg syntax muckup --- build/js/ducttape.js | 2 +- src/coffee/core/help.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/js/ducttape.js b/build/js/ducttape.js index 62e4b6a..491a893 100644 --- a/build/js/ducttape.js +++ b/build/js/ducttape.js @@ -1879,7 +1879,7 @@ }, value: { main: "# DuctTape help #\nthis is the _main_ section, which can be reached via [" + (dt.symbol()) + ".help()](/pseudoURL/run) or [" + (dt.symbol()) + ".help main](/pseudoURL/run).\n\n## Available help sections \n[(" + (dt.symbol()) + ".pkgGet('help','listSections').value()](/pseudoURL/replace)\n## Help for a function or object\nFor any DuctTape function or object, view the related documentation by typing **" + (dt.symbol()) + ".help _function_**\n\nExample: [" + (dt.symbol()) + ".help " + (dt.symbol()) + ".show](/pseudoURL/run)\n", - intro: "# Welcome to DuctTape #\n_DuctTape_ is an [open source](https://github.com/neumark/ducttape) [CoffeeScript](http://coffeescript.org) [REPL](http://en.wikipedia.org/wiki/REPL) for the web.\n\n## Getting Started ##\nAny valid CoffeeScript expression typed into the console will be translated to JavaScript and executed.\nDuctTape will display the result.\nThe [" + (dt.symbol()) + ".help()](/pseudoURL/run) function can be used to get help about objects included in DuctTape.\nFor example, [" + (dt.symbol()) + ".help " + (dt.symbol()) + ".show](/pseudoURL/run) will describe the _show_ command.\n\n## Key bindings ##\n\n\n\n\n\n\n\n\n\n
KeyAction
Enter Executes current statement.
Shift+Enter   Start a new line (multiline expressions are allowed).
F2 Toggles display of generated JavaScript source.
Alt+D Insert the DuctTape symbol (" + (dt.symbol()) + ").
up Browse command history (go back).
down Browse command history (go forward).
\n\n## Useful functions ##\nDuctTape comes with a few convenience functions to make your life easier:\n\n[" + (dt.symbol()) + ".history()](/pseudoURL/run): List previous commands.\n\n[" + (dt.symbol()) + ".last()](/pseudoURL/run): Get the last command issued, along with its result.\n\n[" + (dt.symbol()) + ".clear()](/pseudoURL/run): Erase the result of previous commands.\n\n[" + (dt.symbol()) + ".ov window](/pseudoURL/run): Browse any javascript object (in this case, _window_).\n\nTo view the list of all currently loaded packages and their contents, run [" + (dt.symbol()) + ".listPackages()](/pseudoURL/run).\n\n## DuctTape is extensible ##\nThanks to it's modular architecture, anyone can add commands to DuctTape.\nWrite your own custom packages, and use DuctTape for whatever you want!\n\n## Get Involved! ##\nDo you enjoy using DuctTape, have feature requests or need help developing custom packages?\n\nLet me know! You can find me on [GitHub](https://github.com/neumark).\n\n**Have fun!**\n" + intro: "# Welcome to DuctTape #\n_DuctTape_ is an [open source](https://github.com/neumark/ducttape) [CoffeeScript](http://coffeescript.org) [REPL](http://en.wikipedia.org/wiki/REPL) for the web.\n\n## Getting Started ##\nAny valid CoffeeScript expression typed into the console will be translated to JavaScript and executed.\nDuctTape will display the result.\nThe [" + (dt.symbol()) + ".help()](/pseudoURL/run) function can be used to get help about objects included in DuctTape.\nFor example, [" + (dt.symbol()) + ".help " + (dt.symbol()) + ".show](/pseudoURL/run) will describe the _show_ command.\n\n## Key bindings ##\n\n\n\n\n\n\n\n\n\n
KeyAction
Enter Executes current statement.
Shift+Enter   Start a new line (multiline expressions are allowed).
F2 Toggles display of generated JavaScript source.
Alt+D Insert the DuctTape symbol (" + (dt.symbol()) + ").
up Browse command history (go back).
down Browse command history (go forward).
\n\n## Useful functions ##\nDuctTape comes with a few convenience functions to make your life easier:\n\n[" + (dt.symbol()) + ".history()](/pseudoURL/run): List previous commands.\n\n[" + (dt.symbol()) + ".last()](/pseudoURL/run): Get the last command issued, along with its result.\n\n[" + (dt.symbol()) + ".clear()](/pseudoURL/run): Erase the result of previous commands.\n\n[" + (dt.symbol()) + ".ov window](/pseudoURL/run): Browse any javascript object (in this case, _window_).\n\nTo view the list of all currently loaded packages and their contents, run [" + (dt.symbol()) + ".pkgList()](/pseudoURL/run).\n\n## DuctTape is extensible ##\nThanks to it's modular architecture, anyone can add commands to DuctTape.\nWrite your own custom packages, and use DuctTape for whatever you want!\n\n## Get Involved! ##\nDo you enjoy using DuctTape, have feature requests or need help developing custom packages?\n\nLet me know! You can find me on [GitHub](https://github.com/neumark).\n\n**Have fun!**\n" } } } diff --git a/src/coffee/core/help.coffee b/src/coffee/core/help.coffee index d2e384a..bd01bef 100644 --- a/src/coffee/core/help.coffee +++ b/src/coffee/core/help.coffee @@ -132,7 +132,7 @@ define ['corelib'], (corelib) -> [#{ dt.symbol() }.ov window](/pseudoURL/run): Browse any javascript object (in this case, _window_). - To view the list of all currently loaded packages and their contents, run [#{ dt.symbol() }.listPackages()](/pseudoURL/run). + To view the list of all currently loaded packages and their contents, run [#{ dt.symbol() }.pkgList()](/pseudoURL/run). ## DuctTape is extensible ## Thanks to it's modular architecture, anyone can add commands to DuctTape.