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

decorative

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decorative - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"name": "decorative",
"version": "0.1.5",
"version": "0.1.6",
"repository": "https://github.com/kyr0/decorative",

@@ -5,0 +5,0 @@ "description": "decorative.js is an ES7 micro-framework promoting @decorator pattern-driven app development.",

@@ -101,2 +101,4 @@ decorative.js

A working example of a Gruntfile can be found in this repositories "Gruntfile.js".
Additionally create a ```.babelrc``` file in your projects root directory (next to Gruntfile.js)

@@ -112,2 +114,8 @@ and put it like:

Now that we set up Babel.js and grunt, we can run the transpiling process continuously:
grunt webpack
(Or just "grunt" when you set "webpack" as a default task)
## Decorators

@@ -280,3 +288,3 @@

@Promised()
findMyPhone(howItLooksLike:Object, found:Function, imSureSomeoneHasStolenIt:Function) {
findMyPhone(howItLooksLike, foundCb, imSureSomeoneHasStolenItCb) {

@@ -283,0 +291,0 @@ $.ajax({

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