{"_id":"extendonclass","_rev":"219664","name":"extendonclass","description":"Add a backbone-like extend method onto your CoffeeScript classes, making it easy for JavaScript users to extend your CoffeeScript classes","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"time":{"modified":"2021-06-03T15:39:12.000Z","created":"2013-12-20T02:47:21.089Z","1.0.1":"2014-05-07T13:00:28.866Z","1.0.0":"2013-12-20T02:47:21.089Z"},"users":{},"author":{"name":"2013+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"repository":{"type":"git","url":"https://github.com/bevry/extendonclass.git"},"versions":{"1.0.1":{"title":"Extend on Class","name":"extendonclass","version":"1.0.1","description":"Add a backbone-like extend method onto your CoffeeScript classes, making it easy for JavaScript users to extend your CoffeeScript classes","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"david":true,"daviddev":true,"gittip":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"keywords":["backbone","class","coffeescript","javascript"],"browsers":true,"author":{"name":"2013+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/extendonclass/issues"},"repository":{"type":"git","url":"https://github.com/bevry/extendonclass.git"},"homepage":"https://github.com/bevry/extendonclass","devDependencies":{"coffee-script":"~1.7.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1","chai":"~1.9.1","projectz":"~0.3.11"},"main":"./out/lib/extendonclass.js","scripts":{"test":"node out/test/extendonclass-test.js"},"_id":"extendonclass@1.0.1","dist":{"shasum":"037c46b1b5bed334ecceae31f7e09f138227ed8e","size":3381,"noattachment":false,"key":"/extendonclass/-/extendonclass-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extendonclass/download/extendonclass-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"directories":{},"publish_time":1399467628866,"_cnpm_publish_time":1399467628866,"_hasShrinkwrap":false},"1.0.0":{"title":"Extend on Class","name":"extendonclass","version":"1.0.0","description":"Add a backbone-like extend method onto your CoffeeScript classes, making it easy for JavaScript users to extend your CoffeeScript classes","license":{"type":"MIT"},"badges":{"travis":true,"npm":true,"gittip":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6"},"keywords":["backbone","class","coffeescript","javascript"],"browsers":true,"author":{"name":"2013+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[],"bugs":{"url":"https://github.com/bevry/extendonclass/issues"},"repository":{"type":"git","url":"https://github.com/bevry/extendonclass.git"},"homepage":"https://github.com/bevry/extendonclass","devDependencies":{"coffee-script":"~1.6.3","joe":"~1.3.0","joe-reporter-console":"~1.2.1","chai":"~1.8.1","projectz":"~0.3.2"},"main":"./out/lib/extendonclass.js","scripts":{"test":"node out/test/extendonclass-test.js"},"readmeFilename":"README.md","_id":"extendonclass@1.0.0","dist":{"shasum":"746e0ae3565d7de82c398e61b01c1946dfc82616","size":3100,"noattachment":false,"key":"/extendonclass/-/extendonclass-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extendonclass/download/extendonclass-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"directories":{},"publish_time":1387507641089,"_cnpm_publish_time":1387507641089,"_hasShrinkwrap":false}},"readme":"\n<!-- TITLE/ -->\n\n# Extend on Class\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n[![Build Status](http://img.shields.io/travis-ci/bevry/extendonclass.png?branch=master)](http://travis-ci.org/bevry/extendonclass \"Check this project's build status on TravisCI\")\n[![NPM version](http://badge.fury.io/js/extendonclass.png)](https://npmjs.org/package/extendonclass \"View this project on NPM\")\n[![Dependency Status](https://david-dm.org/bevry/extendonclass.png?theme=shields.io)](https://david-dm.org/bevry/extendonclass)\n[![Development Dependency Status](https://david-dm.org/bevry/extendonclass/dev-status.png?theme=shields.io)](https://david-dm.org/bevry/extendonclass#info=devDependencies)<br/>\n[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ \"Donate weekly to this project using Gittip\")\n[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr \"Donate monthly to this project using Flattr\")\n[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 \"Donate once-off to this project using Paypal\")\n[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a \"Donate once-off to this project using BitCoin\")\n[![Wishlist browse button](http://img.shields.io/wishlist/browse.png?color=yellow)](http://amzn.com/w/2F8TXKSNAFG4V \"Buy an item on our wishlist for us\")\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAdd a backbone-like extend method onto your CoffeeScript classes, making it easy for JavaScript users to extend your CoffeeScript classes\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [NPM](http://npmjs.org/)\n- Use: `require('extendonclass')`\n- Install: `npm install --save extendonclass`\n\n### [Browserify](http://browserify.org/)\n- Use: `require('extendonclass')`\n- Install: `npm install --save extendonclass`\n- CDN URL: `//wzrd.in/bundle/extendonclass@1.0.1`\n\n### [Ender](http://ender.jit.su/)\n- Use: `require('extendonclass')`\n- Install: `ender add extendonclass`\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n### For JavaScript Users\n\n``` javascript\n// Import\nvar SomeCoffeeScriptClass = require('some-coffee-script-module');\n\n// Add our super easy extend method to the CoffeeScript class\nSomeCoffeeScriptClass.extend = require('extendonclass').extendOnClass;\n\n// Extend the CoffeeScript class easily with JavaScript\nvar MyJavaScriptClass = SomeCoffeeScriptClass.extend({\n\tconstructor: function(){\n\t\t// do your thing\n\t\t// if you wish to call super, you can do so via:\n\t\t// this.__super__.constructor.apply(this, arguments);\n\t}\n});\n```\n\n### For CoffeeScript Users\n\n[View the interactive JSFiddle](http://jsfiddle.net/balupton/k9buB/)\n\n\n<!-- HISTORY/ -->\n\n## History\n[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/extendonclass/blob/master/HISTORY.md#files)\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n## Contribute\n\n[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/bevry/extendonclass/blob/master/CONTRIBUTING.md#files)\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Maintainers\n\nThese amazing people are maintaining this project:\n\n- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)\n\n### Sponsors\n\nNo sponsors yet! Will you be the first?\n\n[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ \"Donate weekly to this project using Gittip\")\n[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr \"Donate monthly to this project using Flattr\")\n[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 \"Donate once-off to this project using Paypal\")\n[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a \"Donate once-off to this project using BitCoin\")\n[![Wishlist browse button](http://img.shields.io/wishlist/browse.png?color=yellow)](http://amzn.com/w/2F8TXKSNAFG4V \"Buy an item on our wishlist for us\")\n\n### Contributors\n\nThese amazing people have contributed code to this project:\n\n- [Benjamin Lupton](https://github.com/balupton) <b@lupton.cc> — [view contributions](https://github.com/bevry/extendonclass/commits?author=balupton)\n\n[Become a contributor!](https://github.com/bevry/extendonclass/blob/master/CONTRIBUTING.md#files)\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n## License\n\nLicensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/)\n\nCopyright &copy; 2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)\n\n<!-- /LICENSE -->\n\n\n","_attachments":{},"homepage":"https://github.com/bevry/extendonclass","bugs":{"url":"https://github.com/bevry/extendonclass/issues"},"license":{"type":"MIT"}}