-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from cxw42/v01f
v0.1.15
- Loading branch information
Showing
84 changed files
with
11,196 additions
and
1,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
core | ||
*.stackdump | ||
/*_history | ||
/tags | ||
tags | ||
/webstore.zip | ||
|
||
# Output directories | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# TabFern internals | ||
|
||
## Project layout | ||
|
||
- `/tabfern`: The development tree for TabFern itself | ||
* `/tabfern/src`: Main source | ||
- `/tabfern/src/bg`: Background page | ||
- `/tabfern/src/view`: Popup | ||
- `/tabfern/src/options_custom`: Options page | ||
* `/tabfern/test`: Jasmine tests of TabFern | ||
- `/dist`: where build output from the build process will eventually go. | ||
- `/webstore`: The latest version of TabFern released to the Chrome Web Store. | ||
Updated manually by the maintainers. | ||
- `/doc`: Documentation | ||
- `/scraps`: Holding pen for code that may yet be useful. Nothing in the | ||
project relies on the contents of `/scraps`. | ||
- `/plugin`: Skeleton of a TabFern plugin | ||
|
||
## Popup | ||
|
||
The popup is the main TabFern window, and the heart of the project. It is | ||
`src/view/main.html`, which loads `src/view/tree.html` in an iframe. | ||
`tree.html` and `tree.js` are the primary files for the popup. | ||
|
||
### Data model | ||
|
||
I am moving towards an ALMVCBNRAA (Almost like Model-View-Controller, but not | ||
really at all) data model. The jstree, including DOM and objects, plus the | ||
`item_details.js` datastores, are considered the model. Chrome widgets | ||
(windows and tabs) are considered the view. `tree.js` is the controller. | ||
Although you might think of the jstree's DOM as part of the view, I am | ||
considering it grouped with the model so that I don't have to track | ||
parent-child relationships two places. Those only live in the jstree. | ||
|
||
[]( vi: set ft=markdown: ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,6 @@ for f in "$@" ; do | |
EOF | ||
cat "$f" >> "$dest" | ||
echo >> "$dest" # in case of no \n at last line | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.