yapp 2.2.47 → 2.2.52

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 (45) hide show
  1. package/README.md +2 -2
  2. package/example.html +1 -2
  3. package/example.js +858 -650
  4. package/index.html +1 -2
  5. package/lib/example/view/javascript.js +5 -6
  6. package/lib/example/view/json.js +5 -6
  7. package/lib/example/view/xml.js +5 -6
  8. package/lib/example/view.js +11 -13
  9. package/lib/example/yapp.js +1 -2
  10. package/lib/index.js +20 -6
  11. package/lib/lexer/javascript.js +22 -11
  12. package/lib/lexer/json.js +22 -11
  13. package/lib/lexer/plainText.js +22 -11
  14. package/lib/lexer/xml.js +22 -11
  15. package/lib/lexer/yapp.js +88 -0
  16. package/lib/parser/javascript.js +18 -16
  17. package/lib/parser/json.js +18 -16
  18. package/lib/parser/plainText.js +18 -16
  19. package/lib/parser/xml.js +18 -16
  20. package/lib/parser/yapp.js +126 -0
  21. package/lib/utilities/parser.js +24 -0
  22. package/package.json +2 -2
  23. package/src/example/view/javascript.js +4 -2
  24. package/src/example/view/json.js +4 -2
  25. package/src/example/view/xml.js +4 -2
  26. package/src/example/view.js +8 -8
  27. package/src/example/yapp.js +0 -1
  28. package/src/index.js +3 -1
  29. package/src/lexer/javascript.js +6 -4
  30. package/src/lexer/json.js +6 -4
  31. package/src/lexer/plainText.js +6 -4
  32. package/src/lexer/xml.js +6 -4
  33. package/src/lexer/yapp.js +5 -0
  34. package/src/parser/javascript.js +5 -26
  35. package/src/parser/json.js +5 -26
  36. package/src/parser/plainText.js +5 -26
  37. package/src/parser/xml.js +5 -26
  38. package/src/parser/yapp.js +28 -0
  39. package/src/utilities/parser.js +29 -0
  40. package/lib/example/div/columns.js +0 -35
  41. package/lib/example/div/splitter/horizontal.js +0 -35
  42. package/lib/example/div/splitter/vertical.js +0 -35
  43. package/src/example/div/columns.js +0 -11
  44. package/src/example/div/splitter/horizontal.js +0 -12
  45. package/src/example/div/splitter/vertical.js +0 -12
package/README.md CHANGED
@@ -46,7 +46,7 @@ There are three ways to use Yapp:
46
46
 
47
47
  1. Vanilla JavaScript, with no need to install additional packages.
48
48
  2. Make use of an [Easy](https://github.com/djalbat/easy) element, which is slightly less cumbersome.
49
- 3. Use JSX by way of [Juxtapose](http://juxtapose.info), arguably the most elegant approach.
49
+ 3. Use JSX by way of [Juxtapose](https://juxtapose.info), arguably the most elegant approach.
50
50
 
51
51
  The second approach is recommended, at least to begin with.
52
52
 
@@ -94,7 +94,7 @@ Note that there is now no need to call the `didMount()` method.
94
94
 
95
95
  ### Use JSX by way of Juxtapose
96
96
 
97
- Arguably the most elegant approach is to use JSX by way of [Juxtapose](http://juxtapose.info):
97
+ Arguably the most elegant approach is to use JSX by way of [Juxtapose](https://juxtapose.info):
98
98
 
99
99
  ```
100
100
  "use strict";
package/example.html CHANGED
@@ -1,8 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>Yapp Examples</title>
5
- <meta charset="utf-8" />
4
+ <title>Yapp</title>
6
5
  <style>
7
6
 
8
7
  *,