@storybook/addon-notes
Advanced tools
Comparing version 3.2.0-alpha.5 to 3.2.0-alpha.8
@@ -26,6 +26,6 @@ 'use strict'; | ||
return function (getStory) { | ||
return function () { | ||
return function (context) { | ||
// send the notes to the channel before the story is rendered | ||
channel.emit('storybook/notes/add_notes', notes); | ||
return getStory(); | ||
return getStory(context); | ||
}; | ||
@@ -32,0 +32,0 @@ }; |
{ | ||
"name": "@storybook/addon-notes", | ||
"version": "3.2.0-alpha.5", | ||
"version": "3.2.0-alpha.8", | ||
"description": "Write notes for your Storybook stories.", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@storybook/addons": "^3.1.6", | ||
"@storybook/addons": "^3.2.0-alpha.8", | ||
"babel-runtime": "^6.23.0", | ||
@@ -25,0 +25,0 @@ "util-deprecate": "^1.0.2" |
@@ -8,6 +8,6 @@ import deprecate from 'util-deprecate'; | ||
return getStory => () => { | ||
return getStory => context => { | ||
// send the notes to the channel before the story is rendered | ||
channel.emit('storybook/notes/add_notes', notes); | ||
return getStory(); | ||
return getStory(context); | ||
}; | ||
@@ -14,0 +14,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
174598