well, use wrapup or browserify if you want to use it in the browser.
Then you can simply
var prime = require('prime');
var A = prime({
// things
});
var B = prime({
inherits: A,
constructor: function() {
console.log('do', this);
}
});
And that's it.
On Tue, Dec 3, 2013 at 10:28 PM, santos <[email protected]> wrote:
> First I should use prime or primish?
>
> What should I do to use primish in the browser?
>
> Any examples available?
>
> Thanks for any ideas.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "MooTools Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
---
You received this message because you are subscribed to the Google Groups
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.