Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

class-con-leche

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-con-leche

A simple backbone inspired, coffee compatible class object for node.js and the browser.

  • 0.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

A simple backbone inspired, coffee compatible class object for node.js and the browser.

  • No bs, just the basics.
  • Compatible with CommonJS, AMD, and browser global style modules.
Class = require( 'class-con-leche' );

Walrus = Class.extend( {
	initialize : function() {
		// initialize is called when class instance is created
		console.log( 'I am a baby walrus' );
	},

	helloWorld : function() {
		console.log( 'I am a walrus' );
	}
} );

AngryWalrus = Class.extend( {
	helloWorld : function() {
		Walrus.prototype.myFunction(); // call super.. no syntactical sugar here.

		console.log( 'Get lost!' );
	}
} );

Keywords

FAQs

Package last updated on 01 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc