These are chat archives for cmdPP/core

23rd
Mar 2016
Russell Hueske
@ninja4826
Mar 23 2016 00:00
Well, the differences don't necessarily end with require. With the addition of the require function, a few utilities have been added, such as file-system and OS libraries. Here is a repository for public packages for node.
Here is the actual javascript file. It is written in ES6 syntax, which is newer syntax of JavaScript.
the var foo = () => { return bar }; statements are the same as var foo = function() { return bar }; but with a couple changes to how some things work, such as the this variable.
I commited and pushed the changes. I'll be gone for a bit, but hopefully I'll be able to work on it more tomorrow.
Russell Hueske
@ninja4826
Mar 23 2016 02:14
I think the commands are pretty much set up. I haven't implemented storage quite yet, though. Haven't read into the parts added by the pull request yet.
I'm going to start working on some unit tests for it to make sure that everything is working as it should.
Russell Hueske
@ninja4826
Mar 23 2016 03:41
I think its at the point that a working demo can be created with the module that I've created if you want.
Jett C
@jettcrowson
Mar 23 2016 04:22
How do I run this?
Russell Hueske
@ninja4826
Mar 23 2016 04:24
I'm working on a demo here, but it's not quite done yet. Having a little issue with loading.
I'll also commit a bundled version of the javascript so that you can run it without Node or NPM
Russell Hueske
@ninja4826
Mar 23 2016 04:35
There. Just pushed the changes. After cloning the repo, just drag index.html to a browser window.
I'm off for the night. I'll see if I can implement more changes tomorrow.
Russell Hueske
@ninja4826
Mar 23 2016 16:40
Any thoughts?
Jett C
@jettcrowson
Mar 23 2016 16:59
Looks good, but I couldn't run any commands
Russell Hueske
@ninja4826
Mar 23 2016 17:52
Have you tried pulling and running it again? I might have added it before it was completely finished up
Russell Hueske
@ninja4826
Mar 23 2016 21:48
I moved the HTML stuff to a GitHub page. The script is loaded externally from the releases on the cmdPP/core repo
Here it is.