@dojo/compose
Advanced tools
Comparing version 2.0.0-beta.24 to 2.0.0-beta.25
{ | ||
"name": "@dojo/compose", | ||
"version": "2.0.0-beta.24", | ||
"version": "2.0.0-beta.25", | ||
"description": "A composition library, which works well in a TypeScript environment.", | ||
@@ -16,3 +16,3 @@ "homepage": "http://dojotoolkit.org", | ||
"peerDependencies": { | ||
"@dojo/core": "2.0.0-alpha.25", | ||
"@dojo/core": "2.0.0-alpha.26", | ||
"@dojo/has": "2.0.0-alpha.8", | ||
@@ -19,0 +19,0 @@ "@dojo/shim": "2.0.0-beta.10" |
@@ -56,4 +56,29 @@ # @dojo/compose | ||
## Usage | ||
To use `@dojo/compose`, install the package along with its required peer dependencies: | ||
```bash | ||
npm install @dojo/compose | ||
# peer dependencies | ||
npm install @dojo/core | ||
npm install @dojo/has | ||
npm install @dojo/shim | ||
``` | ||
## Features | ||
- [Class Creation](#class-creation) | ||
- [Creation](#creation) | ||
- [Creation with Initializer](#creation-with-initializer) | ||
- [Class Extension](#class-extension) | ||
- [Implementing an Interface](#implementing-an-interface) | ||
- [Adding Initialization Functions](#adding-initialization-functions) | ||
- [Merging of Arrays](#merging-of-arrays) | ||
- [Using Generics](#using-generics) | ||
- [Overlaying Functionality](#overlaying-functionality) | ||
- [Adding static properties to a factory](#adding-static-properties-to-a-factory) | ||
- [Mixins](#mixins) | ||
The examples below are provided in TypeScript syntax. The package does work under JavaScript, but for clarity, the examples will only include one syntax. See below for how to utilize the package under JavaScript. | ||
@@ -503,4 +528,10 @@ | ||
## Testing | ||
### Installation | ||
To start working with this package, clone the repository and run `npm install`. | ||
In order to build the project run `grunt dev` or `grunt dist`. | ||
### Testing | ||
Test cases MUST be written using [Intern](https://theintern.github.io) using the Object test interface and Assert assertion interface. | ||
@@ -507,0 +538,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193271
550