made slang a progressive web app...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-08-25 13:33:13 +03:00
parent 84590cc66d
commit 2e173f9786
4 changed files with 42 additions and 6 deletions

7
Slang/manifest.json Executable file
View File

@ -0,0 +1,7 @@
{
"short_name": "Slang",
"name": "Slang",
"display": "standalone",
"Theme_color": "white"
}

11
Slang/slang.appcache Executable file
View File

@ -0,0 +1,11 @@
CACHE MANIFEST
# Timestamp: 20170825132449
CACHE:
slang.html
slang.js
manifest.json
NETWORK:
*

View File

@ -1,4 +1,14 @@
<html>
<!DOCTYPE html>
<html manifest="slang.appcache">
<head>
<title>Slang</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="manifest" href="manifest.json">
</head>
<style>
#bootstrap {

View File

@ -721,6 +721,19 @@ var BOOTSTRAP =
Objects and namespaces:
Get the namespace object...
ns -> namespace
Set attribute (key-value pair) on object...
o x 123 item!
-> o
Since almost all object words return the original object we can chain
object operations like this:
Create a variable word o and p and set them to empty objects...
ns
@ -728,11 +741,6 @@ var BOOTSTRAP =
p {} item!
.
Set attribute (key-value pair) on object...
o x 123 item!
-> o
Get attribute x value...
o x item