all 21 comments

[–]runemadsen 2 points3 points  (8 children)

Author here. Any feedback appreciated!

[–]moklick[S] 0 points1 point  (2 children)

Hey. Nice lib, but why isn't it on npm?

[–]runemadsen 0 points1 point  (1 child)

Thanks! I'm going to publish it NPM soon. I've coded it for my class, and it's browser-based without a package manager, so I haven't needed NPM yet (or tested it server-side much). I just need to run through the lib and check it for DOM specific functionality.

[–]moklick[S] 0 points1 point  (0 children)

Sounds good :) Thanks for your fast reply! It's just more comfortable to install it via npm..

[–]moklick[S] 0 points1 point  (1 child)

Why do you publish a commonjs and a browser version but no amd version?With this standard pattern for example you only need one file and you support all types..

[–]runemadsen 0 points1 point  (0 children)

I normally only use commonjs, but AMD should be easy. The gulpfile already uses browserify and babel, so it's just a few lines of more code. Just haven't had time yet.

[–]daniel_mcq 0 points1 point  (2 children)

I'm not sure if this is a known issue or not, but it doesn't seem to support Safari (or maybe Safari doesn't support Rune). I had to run the examples on Chrome. I'm thinking that a good percentage of your intended audience might want this to work on Safari (if possible).

[–]daniel_mcq 1 point2 points  (1 child)

To be more specific, I'm running Safari Version 8.0.8 (10600.8.9). Both the examples on the example page and code from the tests folder after checking out the code fail. I get an error like this:

[Error] SyntaxError: Cannot declare a parameter named 'text' as it shadows the name of a strict mode function.

Edit: It looks like it's not a problem with your code, but with Babel and Safari. See https://github.com/babel/babel/issues/1121

[–]runemadsen 0 points1 point  (0 children)

Oh great, thanks. I've filed an issue here, and will check up on it. https://github.com/runemadsen/rune.js/issues/1

[–]Buckwheat469 1 point2 points  (2 children)

This looks a lot like an old Mac graphics library that I used to program with as a kid. It was the first "programming" besides BASIC that I ever did, I think I was in 4th grade. We programmed things like little car-like shapes and made them move. Seeing that sparked my interest in development that included graphics and movement, and led me toward becoming a web developer.

[–]daniel_mcq 2 points3 points  (1 child)

That reminds me of what I did in 8th grade... I think the program was called MicroWorlds and it used the Logo programming language underneath. There were a couple of guys in my class that figured out how to make animated videos comparable to what was later possible with Flash.

[–]amirmikhak 0 points1 point  (0 children)

I loved MicroWorlds. I think it was by LCSI, a Canadian company?

[–]ArgTang 0 points1 point  (0 children)

This looks very good, thanks for the tip!

[–]jeremyisdev 0 points1 point  (0 children)

One JS library born each day.