@ampify/aquery
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,0 +0,0 @@ module.exports = { |
{ | ||
"name": "@ampify/aquery", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "./dist/aquery.js", | ||
@@ -37,3 +37,3 @@ "module": "./src", | ||
}, | ||
"gitHead": "12fa3673a00d973acb84f0b70a2b4324832fa570" | ||
"gitHead": "e7447b6df3202671644a3abafa69b5d9bb6986bc" | ||
} |
@@ -7,2 +7,3 @@ import jQuery from 'jquery'; | ||
import createScript from './utils/createScript'; | ||
import createForm from './utils/createForm'; | ||
import carousel from './utils/carousel'; | ||
@@ -332,2 +333,12 @@ import slider from './utils/slider'; | ||
form(options = {}) { | ||
for (const node of this.nodes) { | ||
if (aQuery(node).is('form')) { | ||
createForm(Object.assign({}, options, { form: node }), aQuery); | ||
} | ||
} | ||
return this; | ||
} | ||
bindState(prop, bind) { | ||
@@ -334,0 +345,0 @@ for (const node of this.nodes) { |
@@ -0,0 +0,0 @@ module.exports = (str) => { |
@@ -0,0 +0,0 @@ import randomId from './randomId'; |
@@ -0,0 +0,0 @@ import randomId from './randomId'; |
@@ -0,0 +0,0 @@ import randomId from './randomId'; |
@@ -0,0 +0,0 @@ const carousel = ({ slider, prev, next, container }, $) => { |
@@ -0,0 +0,0 @@ const create = ({ input, template }) => { |
@@ -0,0 +0,0 @@ const create = ({ input, template }) => { |
@@ -65,2 +65,2 @@ const { calculateHash } = require('@ampproject/toolbox-script-csp'); | ||
export default createScript; | ||
export default createScript; |
export default new Set(); |
@@ -0,0 +0,0 @@ import cssIgnore from './cssIgnore'; |
@@ -0,0 +0,0 @@ import cssIgnore from './cssIgnore'; |
@@ -0,0 +0,0 @@ const generate = require('nanoid/generate'); |
@@ -0,0 +0,0 @@ import genId from './genId'; |
@@ -0,0 +0,0 @@ const create = ({ container, items, controls }) => { |
@@ -0,0 +0,0 @@ const { name } = require('./package'); |
43541
21
1345