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
cp=newCommandPal({commands: {name: "CommandPal version",handler=()=>(alert("CommandPal version "+CommandPal.version)),},name: "Another version method",handler=()=>(alert("CommandPal version "+cp.version)),}});
work?
Also in the docs, the handler definition is shown as:
// Callback function of the command to execute
handler: (e)=>{// DO SOMETHING}
What is e? From my testing it looks like it is undefined.
I assume there is some mechanism driven off of package.json to keep the version identifier up to date?
The text was updated successfully, but these errors were encountered:
Would it be possible to add a version property to CommandPal? Would something like:
make:
work?
Also in the docs, the handler definition is shown as:
What is
e
? From my testing it looks like it is undefined.I assume there is some mechanism driven off of package.json to keep the version identifier up to date?
The text was updated successfully, but these errors were encountered: