Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue2-ace-editor

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue2-ace-editor - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

index.js
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>",

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc