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

cyclejs-ace-editor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyclejs-ace-editor - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

9

lib/apply_param.js

@@ -12,4 +12,4 @@ 'use strict';

break;
case 'mode':
editor.session.setMode(value);
case 'sessionOptions':
editor.session.setOptions(value);
break;

@@ -23,2 +23,7 @@ case 'readOnly':

// Deprecated
case 'mode':
editor.session.setMode(value);
break;
default:

@@ -25,0 +30,0 @@ throw new Error('Unrecognized configuration key: ' + key + ', use `editor$` sink and handle it on your own');

{
"name": "cyclejs-ace-editor",
"version": "0.0.6",
"version": "0.0.7",
"description": "Cycle.js wrapper for the Ace Editor",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -34,5 +34,8 @@ # cyclejs-ace-editor [![Build Status](https://travis-ci.org/tommy-the-runner/cyclejs-ace-editor.svg?branch=master)](https://travis-ci.org/tommy-the-runner/cyclejs-ace-editor)

- `theme`
- `mode`
- `readOnly`
- `fontSize`
- `sessionOptions` - calls `editor.session.setOptions()`
Supported, but deprecated:
- `mode` - use `sessionOptions` instead

@@ -39,0 +42,0 @@ ## Example

@@ -6,4 +6,4 @@ export default function applyParam(editor, key, value) {

break
case 'mode':
editor.session.setMode(value)
case 'sessionOptions':
editor.session.setOptions(value)
break

@@ -17,2 +17,7 @@ case 'readOnly':

// Deprecated
case 'mode':
editor.session.setMode(value)
break
default:

@@ -19,0 +24,0 @@ throw new Error('Unrecognized configuration key: ' + key + ', use `editor$` sink and handle it on your own')

Sorry, the diff of this file is not supported yet

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