Socket
Socket
Sign inDemoInstall

obojobo-chunks-question-bank

Package Overview
Dependencies
0
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.0.0 to 12.1.0-alpha.0

30

editor-component.js

@@ -38,5 +38,2 @@ import './viewer-component.scss'

this.freezeEditor = this.freezeEditor.bind(this)
this.unfreezeEditor = this.unfreezeEditor.bind(this)
this.remove = this.remove.bind(this)

@@ -105,14 +102,2 @@ this.addQuestion = this.addQuestion.bind(this)

freezeEditor() {
clearTimeout(window.restoreEditorFocusId)
this.props.editor.toggleEditable(false)
}
unfreezeEditor() {
window.restoreEditorFocusId = setTimeout(() => {
this.updateNodeFromState()
this.props.editor.toggleEditable(true)
})
}
displaySettings(editor, element) {

@@ -131,4 +116,2 @@ const radioGroupName = `${element.id}-choose`

onChange={this.changeChooseType}
onFocus={this.freezeEditor}
onBlur={this.unfreezeEditor}
/>

@@ -145,4 +128,2 @@ All questions

onChange={this.changeChooseType}
onFocus={this.freezeEditor}
onBlur={this.unfreezeEditor}
/>

@@ -158,4 +139,2 @@ Pick

onChange={this.onChangeContent.bind(this, 'choose')}
onFocus={this.freezeEditor}
onBlur={this.unfreezeEditor}
/>

@@ -169,4 +148,2 @@ </fieldset>

onChange={this.onChangeContent.bind(this, 'select')}
onFocus={this.freezeEditor}
onBlur={this.unfreezeEditor}
>

@@ -233,8 +210,3 @@ <option value="sequential">In order</option>

<div className={'obojobo-draft--chunks--question-bank editor-bank'}>
<Button
className="delete-button"
onClick={this.remove}
onFocus={this.freezeEditor}
onBlur={this.unfreezeEditor}
>
<Button className="delete-button" onClick={this.remove}>
&times;

@@ -241,0 +213,0 @@ </Button>

1

import-questions-modal.js

@@ -43,2 +43,3 @@ import './import-questions-modal.scss'

child.type !== 'ObojoboDraft.Chunks.MCAssessment' &&
child.type !== 'ObojoboDraft.Chunks.NumericAssessment' &&
child.type !== 'ObojoboDraft.Chunks.Question'

@@ -45,0 +46,0 @@ )

{
"name": "obojobo-chunks-question-bank",
"version": "12.0.0",
"version": "12.1.0-alpha.0",
"license": "AGPL-3.0-only",

@@ -61,3 +61,3 @@ "description": "QuestionBank chunk for Obojobo",

},
"gitHead": "8bf5b97eaf88a31f8fae5e30d93499d22410c660"
"gitHead": "b66a1dd5cc592400994cad047a6c13fcc1bc0e1f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc