GeoMash / JS-Klass-Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS-Klass-Kit

JSKK is a classing engine which brings object-oriented programming to the popular JavaScript language. JSKK allows you to create classes and extend those classes, attach interfaces, mix-in traits and a whole lot more. JSKK is light weight and easy to implement, has built in require.js support and is compatible with node.js.

Key Features

  • True Object Oriented JavaScript. Give structure and meaning to your code.
  • Full Inheritance model, allowing proper Aspect Oriented Programming.
  • Model your classes around Interfaces.
  • Class & Method Abstraction.
  • Class Finalisation.
  • Reusable code with Traits.
  • Define Required classes and have them loaded dynamically before the class is executed.
  • React to change with JSKK's variable condition watching engine.
  • Built-In RequireJS compatibility.

Browser Compatibility

  • IE 8+
  • Chrome 8+
  • Firefox 10+
  • Safari 3+
  • Opera 10.6+

How to Build JSKK

Install Grunt

JSKK is built using Grunt.

npm install -g grunt-cli

With grunt installed, you can not only build JSKK from source.

Build JSKK

Simply call grunt from the command line.

grunt

Change Log

1.4

  • Added support for extending non-JSKK classes.
  • Added support for running within "requireless" environments. (Currently only WebPack is supported)
  • Bind is no longer added to the Function prototype if it is already defined.
  • Restored support for NodeJS.

Roadmap

1.5

  • Optimize Object.extend.

About

License:MIT License


Languages

Language:JavaScript 100.0%