Releases: comp500/CCSnippets
Releases · comp500/CCSnippets
New beta release
require()
is now smaller!
- only 420B or so minified
- same simple syntax
- less stupid directory searching
- supports /usr/apis
- it's just lib() without the internet!
New beta release
Well.... a new function(for you people) return true end
I've decided that require() is stupidly long and stupid. I've invented lib(). It looks just like require() on the outside, however:
- It looks in less directories, but looks in /usr/apis (so it works with packman now)
- It prompts the user to install an api when it is not installed (implemented packman and ac-get, only tested packman)
- Is only 900 or so bytes minified
- Still has the awesome format
api, api2, api3... = lib("api", "api2", "api3"...)
In the next few releases I will:
- Polish up stuff
- Make require better and smaller
- Revitalise addrequire
Beta release
Bugfixes, including:
Error created when files aren't found, more helpful
Features, including:
Shell.resolveProgram - This means you can require() programs. It isn't that useful, but could come in handy if some server owner installs things in rom
Beta release
A small patch update, fixing a few errors.
This update has been tested, however it would be great if you could try it out yourself and give feedback!
Beta release
This is the first release. Beware that this code is virtually untested, so it may break or not work.