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

ember-ds-inline-edit

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-ds-inline-edit - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

1

addon/components/ds-inline-edit.js

@@ -83,2 +83,3 @@ import Ember from 'ember'

model.save()
.then(updatedModel => this.onUpdate && this.onUpdate(updatedModel))
.catch(error => { Ember.run(() => {

@@ -85,0 +86,0 @@ model.set(prop, previousValue)

2

package.json
{
"name": "ember-ds-inline-edit",
"version": "0.2.0",
"version": "0.3.0",
"bugs": {

@@ -5,0 +5,0 @@ "url": "https://github.com/IliasDeros/ember-ds-inline-edit/issues"

@@ -20,3 +20,4 @@ Edit an ember DS.model inline by clicking on it to toggle editor.

prop='name'
onError='onError'
onError=(action send 'onError')
onUpdate=(action send 'onUpdate')
}}

@@ -44,2 +45,4 @@ ```

When an update is successful, the `onUpdate` function is called with the updated model.
#### Keyboard Support

@@ -52,2 +55,2 @@

#### Error Handling
When an error occurs, an `onError` action is sent.
When an error occurs, an `onError` action is executed.
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