domql 1.5.102 → 1.5.103

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "domql",
3
3
  "description": "DOM rendering Javascript framework at early stage.",
4
4
  "author": "symbo.ls",
5
- "version": "1.5.102",
5
+ "version": "1.5.103",
6
6
  "repository": "https://github.com/domql/domql",
7
7
  "publishConfig": {
8
8
  "registry": "https://registry.npmjs.org"
@@ -1,24 +0,0 @@
1
- 'use strict'
2
-
3
- import { document } from '@domql/globals'
4
-
5
- export const isMobile = (() => /Mobi/.test(navigator.userAgent))()
6
-
7
- export const setCookie = (cname, cvalue, exdays = 365) => {
8
- const d = new Date()
9
- d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000))
10
- const expires = `expires=${d.toUTCString()}`
11
- document.cookie = `${cname}=${cvalue};${expires};path=/`
12
- }
13
-
14
- export const getCookie = (cname) => {
15
- const name = `${cname}=`
16
- const decodedCookie = decodeURIComponent(document.cookie)
17
- const ca = decodedCookie.split(';')
18
- for (let i = 0; i < ca.length; i++) {
19
- let c = ca[i]
20
- while (c.charAt(0) === ' ') c = c.substring(1)
21
- if (c.indexOf(name) === 0) return c.substring(name.length, c.length)
22
- }
23
- return ''
24
- }
@@ -1 +0,0 @@
1
- 'use strict'
@@ -1,20 +0,0 @@
1
- {
2
- "name": "@domql/object",
3
- "version": "0.0.1",
4
- "private": false,
5
- "description": "",
6
- "main": "index.js",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/domql/domql.git"
13
- },
14
- "author": "Rackai",
15
- "license": "ISC",
16
- "bugs": {
17
- "url": "https://github.com/domql/domql/issues"
18
- },
19
- "homepage": "https://github.com/domql/domql#readme"
20
- }