jsquery_node 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/jsquery.ts +3 -1
  2. package/package.json +1 -1
package/jsquery.ts CHANGED
@@ -285,9 +285,10 @@ export namespace JSQuery {
285
285
  export type Plugin = Extension;
286
286
  }
287
287
 
288
+
288
289
  function J(q: any): JSQuery.Element | null {
289
290
  return JSQuery.Element.from(document.querySelector(q)) as any;
290
- }
291
+ };
291
292
 
292
293
  J.from = ((elt:any) => {
293
294
  return JSQuery.Element.from(elt);
@@ -337,4 +338,5 @@ J.loadExtension = (extend: new()=>JSQuery.Extension) => {
337
338
  }
338
339
 
339
340
  J.loadPlugin = J.loadExtension;
341
+ export const $ = J;
340
342
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsquery_node",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "jsquery",
5
5
  "homepage": "https://github.com/chickencuber/jsquery_node#readme",
6
6
  "bugs": {