@ndla/article-scripts
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -12,3 +12,3 @@ /** | ||
import { addShowDialogClickListeners, removeShowDialogClickListeners, addCloseDialogClickListeners } from './dialogScripts'; | ||
import { addToggleSynstolketListener } from './synstolketScripts'; | ||
import { addToggleAlternativeVideoListener } from './alternativeVideoPlugin'; | ||
import { initTableScript, removeTableEventListeners } from './tableScripts'; | ||
@@ -27,3 +27,3 @@ import { addDetailsEventListeners, removeDetailsEventListeners } from './detailsScript'; | ||
addShowDialogClickListeners(); | ||
addToggleSynstolketListener(); | ||
addToggleAlternativeVideoListener(); | ||
addCloseDialogClickListeners(); | ||
@@ -40,2 +40,2 @@ addShowConceptDefinitionClickListeners(); | ||
}; | ||
export { initTableScript, removeTableEventListeners, updateIFrameDimensions, addFactBoxClickListener, removeFactBoxClickListener, addEventListenerForResize, removeEventListenerForResize, addCloseDialogClickListeners, addCopyToClipboardListeners, addShowConceptDefinitionClickListeners, addShowDialogClickListeners, addToggleSynstolketListener, removeShowDialogClickListeners, addDetailsEventListeners, removeDetailsEventListeners, addFootnoteClickListeners, toggleLicenseInfoBox, toggleRelatedArticles, addFilelistTooltipListners, initArticleTabs, addEventListenerForFigureZoomButton }; | ||
export { initTableScript, removeTableEventListeners, updateIFrameDimensions, addFactBoxClickListener, removeFactBoxClickListener, addEventListenerForResize, removeEventListenerForResize, addCloseDialogClickListeners, addCopyToClipboardListeners, addShowConceptDefinitionClickListeners, addShowDialogClickListeners, addToggleAlternativeVideoListener, removeShowDialogClickListeners, addDetailsEventListeners, removeDetailsEventListeners, addFootnoteClickListeners, toggleLicenseInfoBox, toggleRelatedArticles, addFilelistTooltipListners, initArticleTabs, addEventListenerForFigureZoomButton }; |
@@ -78,6 +78,6 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "addToggleSynstolketListener", { | ||
Object.defineProperty(exports, "addToggleAlternativeVideoListener", { | ||
enumerable: true, | ||
get: function get() { | ||
return _synstolketScripts.addToggleSynstolketListener; | ||
return _alternativeVideoPlugin.addToggleAlternativeVideoListener; | ||
} | ||
@@ -161,3 +161,3 @@ }); | ||
var _synstolketScripts = require("./synstolketScripts"); | ||
var _alternativeVideoPlugin = require("./alternativeVideoPlugin"); | ||
@@ -191,3 +191,3 @@ var _tableScripts = require("./tableScripts"); | ||
(0, _dialogScripts.addShowDialogClickListeners)(); | ||
(0, _synstolketScripts.addToggleSynstolketListener)(); | ||
(0, _alternativeVideoPlugin.addToggleAlternativeVideoListener)(); | ||
(0, _dialogScripts.addCloseDialogClickListeners)(); | ||
@@ -194,0 +194,0 @@ (0, _conceptScripts.addShowConceptDefinitionClickListeners)(); |
{ | ||
"name": "@ndla/article-scripts", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "A collection of functions for making article content responsive (and interactive)", | ||
@@ -22,3 +22,3 @@ "license": "GPL-3.0", | ||
"dependencies": { | ||
"@ndla/util": "^1.0.1", | ||
"@ndla/util": "^1.0.2", | ||
"focus-trap": "^4.0.2", | ||
@@ -31,3 +31,3 @@ "jump.js": "^1.0.2", | ||
}, | ||
"gitHead": "94714d8c1e5e1c84bd1beedb3d8f5661b9c72371" | ||
"gitHead": "1682299abb08592d13280c3447db580de9b52808" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
104384
1631
Updated@ndla/util@^1.0.2