jsquery_node 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsquery.js +2 -2
- package/jsquery.ts +2 -2
- package/package.json +1 -1
package/jsquery.js
CHANGED
|
@@ -204,8 +204,8 @@ export const { $, JSQuery } = (() => {
|
|
|
204
204
|
}
|
|
205
205
|
checked(val) {
|
|
206
206
|
if (val == undefined)
|
|
207
|
-
return this.
|
|
208
|
-
this.
|
|
207
|
+
return this.checked;
|
|
208
|
+
this.checked = val;
|
|
209
209
|
return this;
|
|
210
210
|
}
|
|
211
211
|
//events
|
package/jsquery.ts
CHANGED
|
@@ -211,8 +211,8 @@ export const { $, JSQuery } = (() => {
|
|
|
211
211
|
checked(): boolean;
|
|
212
212
|
checked(val: boolean): this;
|
|
213
213
|
checked(val?: boolean): boolean| this {
|
|
214
|
-
if (val == undefined) return this.
|
|
215
|
-
this.
|
|
214
|
+
if (val == undefined) return (this as any).checked;
|
|
215
|
+
(this as any).checked = val;
|
|
216
216
|
return this;
|
|
217
217
|
}
|
|
218
218
|
//events
|