simplesignal
Advanced tools
Comparing version 4.0.3 to 4.0.4
{ | ||
"name": "simplesignal", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Super-simple signals class", | ||
@@ -5,0 +5,0 @@ "main": "./dist/SimpleSignal.umd.js", |
@@ -42,4 +42,4 @@ # Simple Signal | ||
```javascript | ||
myClassObject.onSomethingHappened.add(function(id) { | ||
console.log("Something happened with an id of " + id | ||
myClassObject.onSomethingHappened.add((id) => { | ||
console.log("Something happened with an id of " + id); | ||
}); | ||
@@ -46,0 +46,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
10346