@litejs/ui 23.4.0 → 23.4.1

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/el/Slider.tpl CHANGED
@@ -263,6 +263,6 @@
263
263
  ;fixReadonlyCheckbox
264
264
  input[type=checkbox].hide
265
265
  ;readonly: row && !row.write
266
- ;checked: model && !!model.get(row.path)
266
+ ;checked: model && (row && row.opts ? row.opts === model.get(row.path) : !!model.get(row.path))
267
267
  .Toggle-knob.anim
268
268
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litejs/ui",
3
- "version": "23.4.0",
3
+ "version": "23.4.1",
4
4
  "description": "UI engine for LiteJS full-stack framework",
5
5
  "license": "MIT",
6
6
  "author": "Lauri Rooden <lauri@rooden.ee>",
@@ -25,7 +25,7 @@
25
25
  "test": "TZ='Europe/Tallinn' lj test test/index.js --brief --coverage && jshint --verbose *.js src/*.js binding/*.js polyfill/*.js"
26
26
  },
27
27
  "devDependencies": {
28
- "@litejs/cli": "23.4.0",
28
+ "@litejs/cli": "23.4.3",
29
29
  "jshint": "2.13.6"
30
30
  },
31
31
  "litejs": {
package/polyfill/index.js CHANGED
@@ -348,6 +348,8 @@
348
348
 
349
349
 
350
350
  O = String[P]
351
+ patch("endsWith", "return(a+='')===t.slice(-a.length)")
352
+ patch("startsWith", "return t.lastIndexOf(a,0)===0")
351
353
  patch("trim", "return t.replace(/^\\s+|\\s+$/g,'')")
352
354
 
353
355