dom-element-is-natively-editable
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,2 @@ | ||
module.exports = function (element) { | ||
export default function (element) { | ||
if ( | ||
@@ -3,0 +3,0 @@ element.ownerDocument.designMode && |
{ | ||
"name": "dom-element-is-natively-editable", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Returns true if the provided DOM element is supposed to be natively editable", | ||
"main": "index.js", | ||
"browserify": { "transform": ["babelify"] }, | ||
"browserify": { | ||
"transform": [ | ||
"babelify" | ||
] | ||
}, | ||
"scripts": { | ||
@@ -8,0 +12,0 @@ "test": "npm run lint && npm run unit", |
/* eslint-env mocha */ | ||
require('chai').should() | ||
const jsdom = require('jsdom') | ||
const isEditable = require('..') | ||
import chai from 'chai' | ||
chai.should() | ||
import jsdom from 'jsdom' | ||
import isEditable from '..' | ||
@@ -7,0 +8,0 @@ describe('dom-element-is-natively-editable', () => { |
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
8650
188