| Issue 3: | Javascript DOM method completion | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Originally reported by maglione.k, on 2008-10-24 22:56:16: Completion functions for arguments to common DOM methods. |
||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-10-23 11:07:23: thesnowdog is working on a :sanitize command which will allow this to do |
|||||||||||
,
Oct 05, 2009
Originally noted by by maglione.k, on 2008-10-25 18:49:29:
Other workarounds exist in CVS. Namely
:js storage["history-command"].truncate(0)
:js storage["history-command"].mutate("filter", function (h) !/^(tab|win)?o(pen|\b)/.test(h))
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-10-23 11:07:23: thesnowdog is working on a :sanitize command which will allow this to do |
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-10-23 11:07:23: thesnowdog is working on a :sanitize command which will allow this to do |
|||||||||||
,
Oct 05, 2009
Originally noted by by maglione.k, on 2008-10-25 18:49:29:
Other workarounds exist in CVS. Namely
:js storage["history-command"].truncate(0)
:js storage["history-command"].mutate("filter", function (h) !/^(tab|win)?o(pen|\b)/.test(h))
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-10-23 11:07:23: thesnowdog is working on a :sanitize command which will allow this to do |
|||||||||||
,
Oct 05, 2009
Originally noted by by maglione.k, on 2008-10-25 18:49:29:
Other workarounds exist in CVS. Namely
:js storage["history-command"].truncate(0)
:js storage["history-command"].mutate("filter", function (h) !/^(tab|win)?o(pen|\b)/.test(h))
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-10-23 11:07:23: thesnowdog is working on a :sanitize command which will allow this to do |
|||||||||||
,
Oct 05, 2009
Originally noted by by maglione.k, on 2008-10-25 18:49:29:
Other workarounds exist in CVS. Namely
:js storage["history-command"].truncate(0)
:js storage["history-command"].mutate("filter", function (h) !/^(tab|win)?o(pen|\b)/.test(h))
|
|||||||||||
,
Oct 05, 2009
Originally noted by by dougkearns, on 2008-10-29 01:14:53: |
|||||||||||
,
Oct 05, 2009
Originally noted by by dougkearns, on 2008-10-29 03:27:39: |
|||||||||||
,
Oct 05, 2009
Originally noted by by janus_wel, on 2008-10-29 11:56:25: jscompletion.js don't work on current Vimperator version. so make the patch. |
|||||||||||
,
Oct 05, 2009
Originally noted by by anekos, on 2008-11-01 10:01:30:
This script taints "liberator.modules".
Vimperator's scripts should be surrounded by (function(){ })();.
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-11-24 12:39:45:
I agree with anekos, although we should probably make that default in vimperator, so script authors wouldn't need this "hack". I don't think there are many plugins which really need access to other plugins data. If so, they should use liberator.plugins.foo = ...;
This plugin is broken for the latest vimperator versions:
vimperator: TypeError: util.arrayIter is not a function::
fileName: "chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js"
lineNumber: 14
message: "util.arrayIter is not a function"
stack: elemToString([object XULElement])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:14
("getElementById",[object XULDocument],"",[object Array])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:23
_complete([object Object])@chrome://liberator/content/completion.js:743
_javascript([object Object])@chrome://liberator/content/completion.js:1235
([object Object],[object Object],false,-1)@chrome://liberator/content/ui.js:504
ex([object Object])@chrome://liberator/content/completion.js:1162
fork("ex",0,ex,[object Object])@chrome://liberator/content/completion.js:222
("echo document.getElementById(\"")@chrome://liberator/content/ui.js:160
("complete",512,"echo document.getElementById(\"")@chrome://liberator/content/liberator.js:587
onEvent([object KeyboardEvent])@chrome://liberator/content/ui.js:840
([object KeyboardEvent])@chrome://liberator/content/events.js:1493
([object KeyboardEvent])@chrome://liberator/content/events.js:557
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-11-24 12:40:18:
Sorry, the latest commit should be:
{{{
vimperator: TypeError: util.arrayIter is not a function::
fileName: "chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js"
lineNumber: 14
message: "util.arrayIter is not a function"
stack: elemToString([object XULElement])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:14
("getElementById",[object XULDocument],"",[object Array])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:23
_complete([object Object])@chrome://liberator/content/completion.js:743
_javascript([object Object])@chrome://liberator/content/completion.js:1235
([object Object],[object Object],false,-1)@chrome://liberator/content/ui.js:504
ex([object Object])@chrome://liberator/content/completion.js:1162
fork("ex",0,ex,[object Object])@chrome://liberator/content/completion.js:222
("echo document.getElementById(\"")@chrome://liberator/content/ui.js:160
("complete",512,"echo document.getElementById(\"")@chrome://liberator/content/liberator.js:587
onEvent([object KeyboardEvent])@chrome://liberator/content/ui.js:840
([object KeyboardEvent])@chrome://liberator/content/events.js:1493
([object KeyboardEvent])@chrome://liberator/content/events.js:557
}}}
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maglione.k, on 2008-11-27 21:26:46: Plugins are now loaded into their own namespaces. This has been updated with better *NS completion, along with eval completion (yeah...). |
|||||||||||
,
Oct 05, 2009
Originally noted by by janus_wel, on 2008-10-29 11:56:25: jscompletion.js don't work on current Vimperator version. so make the patch. |
|||||||||||
,
Oct 05, 2009
Originally noted by by anekos, on 2008-11-01 10:01:30:
This script taints "liberator.modules".
Vimperator's scripts should be surrounded by (function(){ })();.
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-11-24 12:39:45:
I agree with anekos, although we should probably make that default in vimperator, so script authors wouldn't need this "hack". I don't think there are many plugins which really need access to other plugins data. If so, they should use liberator.plugins.foo = ...;
This plugin is broken for the latest vimperator versions:
vimperator: TypeError: util.arrayIter is not a function::
fileName: "chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js"
lineNumber: 14
message: "util.arrayIter is not a function"
stack: elemToString([object XULElement])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:14
("getElementById",[object XULDocument],"",[object Array])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:23
_complete([object Object])@chrome://liberator/content/completion.js:743
_javascript([object Object])@chrome://liberator/content/completion.js:1235
([object Object],[object Object],false,-1)@chrome://liberator/content/ui.js:504
ex([object Object])@chrome://liberator/content/completion.js:1162
fork("ex",0,ex,[object Object])@chrome://liberator/content/completion.js:222
("echo document.getElementById(\"")@chrome://liberator/content/ui.js:160
("complete",512,"echo document.getElementById(\"")@chrome://liberator/content/liberator.js:587
onEvent([object KeyboardEvent])@chrome://liberator/content/ui.js:840
([object KeyboardEvent])@chrome://liberator/content/events.js:1493
([object KeyboardEvent])@chrome://liberator/content/events.js:557
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maxauthority, on 2008-11-24 12:40:18:
Sorry, the latest commit should be:
{{{
vimperator: TypeError: util.arrayIter is not a function::
fileName: "chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js"
lineNumber: 14
message: "util.arrayIter is not a function"
stack: elemToString([object XULElement])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:14
("getElementById",[object XULDocument],"",[object Array])@chrome://liberator/content/io.js -> file:///home/maxauthority/.vimperator/plugin/jscompletion.js:23
_complete([object Object])@chrome://liberator/content/completion.js:743
_javascript([object Object])@chrome://liberator/content/completion.js:1235
([object Object],[object Object],false,-1)@chrome://liberator/content/ui.js:504
ex([object Object])@chrome://liberator/content/completion.js:1162
fork("ex",0,ex,[object Object])@chrome://liberator/content/completion.js:222
("echo document.getElementById(\"")@chrome://liberator/content/ui.js:160
("complete",512,"echo document.getElementById(\"")@chrome://liberator/content/liberator.js:587
onEvent([object KeyboardEvent])@chrome://liberator/content/ui.js:840
([object KeyboardEvent])@chrome://liberator/content/events.js:1493
([object KeyboardEvent])@chrome://liberator/content/events.js:557
}}}
|
|||||||||||
,
Oct 05, 2009
Originally noted by by maglione.k, on 2008-11-27 21:26:46: Plugins are now loaded into their own namespaces. This has been updated with better *NS completion, along with eval completion (yeah...). |
|||||||||||
,
Oct 15, 2009
New attachments: jscompletion.js – (maglione.k – 2008-11-27 21:20:12) |
|||||||||||
| ► Sign in to add a comment | |||||||||||