Skip to content

Releases: comp500/CCSnippets

New beta release

11 Apr 09:21
Compare
Choose a tag to compare
New beta release Pre-release
Pre-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

10 Apr 08:43
Compare
Choose a tag to compare
New beta release Pre-release
Pre-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

19 Feb 15:59
Compare
Choose a tag to compare
Beta release Pre-release
Pre-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

19 Feb 08:45
Compare
Choose a tag to compare
Beta release Pre-release
Pre-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

19 Feb 08:14
Compare
Choose a tag to compare
Beta release Pre-release
Pre-release

This is the first release. Beware that this code is virtually untested, so it may break or not work.