jsquery_node 1.0.8 → 1.0.10
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
|
@@ -198,8 +198,8 @@ export const { $, JSQuery } = (() => {
|
|
|
198
198
|
}
|
|
199
199
|
value(val) {
|
|
200
200
|
if (val == undefined)
|
|
201
|
-
return this.
|
|
202
|
-
this.
|
|
201
|
+
return this.elt.value;
|
|
202
|
+
this.elt.value = val;
|
|
203
203
|
return this;
|
|
204
204
|
}
|
|
205
205
|
checked(val) {
|
package/jsquery.ts
CHANGED
|
@@ -204,8 +204,8 @@ export const { $, JSQuery } = (() => {
|
|
|
204
204
|
value(): string;
|
|
205
205
|
value(val: string): this;
|
|
206
206
|
value(val?: string): string | this {
|
|
207
|
-
if (val == undefined) return this.
|
|
208
|
-
this.
|
|
207
|
+
if (val == undefined) return (this.elt as any).value;
|
|
208
|
+
(this.elt as any).value = val;
|
|
209
209
|
return this;
|
|
210
210
|
}
|
|
211
211
|
checked(): boolean;
|