@ampify/plugin-jquery-ui-select
Advanced tools
Comparing version 0.1.1 to 0.1.2
module.exports = { | ||
env: { | ||
test: { | ||
plugins: ["transform-es2015-modules-commonjs"] | ||
plugins: ['transform-es2015-modules-commonjs'] | ||
} | ||
} | ||
}; |
{ | ||
"name": "@ampify/plugin-jquery-ui-select", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "./src", | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "c73bb3f837727c969b0fdeb3a93c31741d3e3ac4" | ||
"gitHead": "4f295fd94043d1cf243b95425cf226eb3a9c0a23" | ||
} |
# Jquery UI Select | ||
Convert Jquery UI select to regular select, supports navigation only. | ||
@@ -23,3 +23,3 @@ const getStylesWithoutDefaults = element => { | ||
if(!select) return; | ||
if (!select) return; | ||
@@ -42,2 +42,1 @@ select.removeAttribute('style'); | ||
}; | ||
@@ -1,13 +0,10 @@ | ||
import { prepare, run } from "./"; | ||
import exec from './'; | ||
beforeAll(() => { | ||
document.body.innerHTML = `<h1>hello</h1>`; | ||
document.documentElement.innerHTML = `<html><body></body></html>`; | ||
}); | ||
test("prepare", () => { | ||
expect(prepare({ test: 1 })).toMatchSnapshot(); | ||
test('exec', () => { | ||
exec(); | ||
expect(document.documentElement.outerHTML).toMatchSnapshot(); | ||
}); | ||
test("run", () => { | ||
expect(run()).toMatchSnapshot(); | ||
}); |
@@ -1,2 +0,2 @@ | ||
const { name } = require('./package'); | ||
const { name } = require('./package'); | ||
const camelCase = require('lodash.camelcase'); | ||
@@ -3,0 +3,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
4924
57
4