Skip to content

Commit b12dab1

Browse files
committed
scriptive
1 parent 58e5898 commit b12dab1

File tree

214 files changed

+17819
-1241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+17819
-1241
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ output
5454
dev/lib/*.js
5555
dev/js/*.js
5656
dev/css/*.css
57+
dev/bible/*
5758
dev/font/*
5859
!dev/font/*.json
5960
asset/*/*[0-9].*

README.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,82 @@
1-
# laisiangtho
1+
# Lai Siangtho
22
the Holy Bible in languages!
3+
4+
```json
5+
// scriptive.json
6+
"project": {
7+
"lst":{
8+
"root":"../scriptive.laisiangtho"
9+
}
10+
}
11+
```
12+
13+
## Command lines
14+
15+
- `npm run download -- --pro=lst`
16+
- `gulp --pro=lst`
17+
- `npm run build -- --os=<chrome,ios,android,web,electron> --pro=<?> --dir=<?>`
18+
- `npm run ios -- --pro=lst`
19+
- `npm run android -- --pro=lst`
20+
- `npm run web -- --pro=lst`
21+
- `npm run electron -- --pro=lst`
22+
- `npm run chrome -- --pro=lst`
23+
- `npm run docs -- --pro=lst`
24+
- `npm run developer -- --pro=lst`
25+
26+
27+
## Todo
28+
29+
* Initiate (terminal)
30+
- [x]version from setting ->
31+
- [x]language
32+
- [x]query
33+
- [x]setting
34+
- [x] Template
35+
- [x] load
36+
- [x] Content
37+
- [x] bible
38+
- [x] chapter
39+
- [x] lookup
40+
- [x] parallel
41+
- [ ] reference
42+
- [ ] note
43+
- [x] Query
44+
- [x] from
45+
- [x] str (string, input)
46+
- [x] obj (object, objective)
47+
- [ ] ref (reference)
48+
- [x] notify if Parallel is active or not!
49+
- [x] notify if Bookmark is active or not!
50+
- [x] lookup form dataContent
51+
- [ ] lookup suggestion
52+
- [ ] lookup result count
53+
- [ ] reference for Parallel (chapter & lookup)
54+
- [ ] firefox bugs
55+
- [x] notification
56+
- [ ] configuration
57+
- [ ] font-height for fixed
58+
- [ ] hashChange lookup
59+
- [ ] Note
60+
61+
## Missing
62+
- [ ] tedim-Late 119:2
63+
- [ ] bokmal1906-Solomon 1
64+
- [ ] bbe-Psalm 2-10
65+
- [ ] bbe-Isaiah 64
66+
- [ ] mmn-Mark 1
67+
## Challenge
68+
* Data (bible, bookmark, note)
69+
[ ] import
70+
[ ] export
71+
* Bookmark menu
72+
[x] responsive design
73+
[x] unusable responsive
74+
* Lookup setting
75+
[x] responsive design
76+
* Parallel menu
77+
[x] icon for switch Primary language
78+
[x] text for Parallel
79+
[x] unusable responsive
80+
* hO
81+
- [x] content inline-display
82+
- [ ] querySelector speed improve

api/extension/background.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var content = function(){
2+
chrome.tabs.getCurrent(function(){
3+
console.log(arguments);
4+
});
5+
};

api/extension/command.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// var backgroundPage = chrome.extension.getBackgroundPage();
2+
var app={
3+
commandEventListener:function(event){
4+
var e = event.target;
5+
if (e.dataset.cmd){
6+
if (app.cmd.hasOwnProperty(e.dataset.cmd))app.cmd[e.dataset.cmd]();
7+
}
8+
},
9+
cmd:{
10+
openOptions:function(){
11+
if (chrome.runtime.openOptionsPage) {
12+
chrome.runtime.openOptionsPage();
13+
} else {
14+
window.open(chrome.runtime.getURL('options.html'));
15+
}
16+
}
17+
}
18+
};
19+
document.addEventListener("DOMContentLoaded", function(){
20+
document.querySelector('ul.command').addEventListener('click', app.commandEventListener);
21+
}, false );

0 commit comments

Comments
 (0)