vue2-ace-editor
Advanced tools
Comparing version 0.0.5 to 0.0.6
var ace = require('brace'); | ||
require(['emmet/emmet'],function (data) { | ||
window.emmet = data.emmet; | ||
}); | ||
module.exports = { | ||
@@ -8,0 +4,0 @@ template:"<div :style=\"{height: height ? px(height) : '100%',width: width ? px(width) : '100%'}\"></div>", |
{ | ||
"name": "vue2-ace-editor", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A Vue2.0's component based on ace/brace", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,2 +7,16 @@ vue2-ace-editor | ||
## IMPORTANT | ||
emmet support for html is removed after 0.0.6. because its code cannot works with strict mode. | ||
if you want to use it. require emmet by your own. | ||
``` | ||
npm install emmet@git+https://github.com/cloud9ide/emmet-core.git#41973fcc70392864c7a469cf5dcd875b88b93d4a | ||
``` | ||
``` | ||
require(['emmet/emmet'],function (data) { // this is huge. so require it async is better | ||
window.emmet = data.emmet; | ||
}); | ||
``` | ||
## How to use | ||
@@ -9,0 +23,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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
4050
70
0
58