vue2-ace-editor
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -40,4 +40,6 @@ var ace = require('brace'); | ||
value:function (val) { | ||
if(this.contentBackup !== val) | ||
if(this.contentBackup !== val){ | ||
this.editor.setValue(val,1); | ||
this.contentBackup = val; | ||
} | ||
}, | ||
@@ -84,2 +86,3 @@ theme:function (newTheme) { | ||
editor.setValue(this.value,1); | ||
this.contentBackup = this.value; | ||
@@ -86,0 +89,0 @@ editor.on('change',function () { |
{ | ||
"name": "vue2-ace-editor", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "A Vue2.0's component based on ace/brace", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -59,3 +59,3 @@ vue2-ace-editor | ||
require('brace/theme/chrome') | ||
require('brace/snippet/javascript') //snippet | ||
require('brace/snippets/javascript') //snippet | ||
} | ||
@@ -62,0 +62,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
4970
89