Permalink
Browse files

oops, recommit

  • Loading branch information...
1 parent bc0be4b commit 414d69e7fe846c523658ce21230c9ac376084157 @cognominal committed Jun 27, 2012
Showing with 1,306 additions and 153 deletions.
  1. +8 −7 Makefile
  2. +5 −0 TBD
  3. +65 −0 css/jquery.mCustomScrollbar.css
  4. +13 −32 css/zbrew.css
  5. +2 −6 i.html
  6. +233 −0 js/LiteViewport.js
  7. +205 −0 js/jquery.easing.1.3.js
  8. +284 −0 p6.text
  9. +284 −0 p6.txt
  10. +168 −108 src/LiteViewport.coffee
  11. +39 −0 src/hi.coffee
View
@@ -1,15 +1,16 @@
-all:
+all:
coffee -o js/ -c src/
- perl6 bin/jsonParseTree data/package.json > data/parsed.json
- docdown --markdown README.md
+ docdown --markdown README.md
npm install .
+# perl6 bin/jsonParseTree data/package.json > data/parsed.json
-# what about the Perl part?
-install:
+
+# what about installing the Perl part?
+install:
npm install -g .
clean:
-# remove generated file that are part of the depot
+# remove generated files that are part of the depot
realclean:
- rm js/hilite.js README.html
+ rm js/liteViewport.js README.html
View
5 TBD
@@ -8,6 +8,11 @@ Recurrent but important ones tend to be in the bottom
## First some random ideas, that are neither yet thought out or prioritized
+There is probably much overlap between zbrew goals and Cloud 9.
+zbrew edge maybe the upcoming support of ST2 liek API.
+
+http://arstechnica.com/information-technology/2012/06/cloud-9-browser-based-development-environment-gets-tricked-out/
+
zbrew works with a json presentation of the parse tree, we
need to think the relation with the AST too.
Just noted --node options in coffeescript. Seem very close to what I need.
Oops, something went wrong.
View
@@ -1,14 +1,8 @@
-#parse-crumbs {
+.parse-path {
border-width : 4px;
min-height : 15ex;
overflow: scroll;
- position: fixed;
- z-index: 100;
- min-height: 3ex;
- min-width: 490px;
left: 40px; right: 40px; top: 0px;
- padding-left: 252px;
- background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#dadada));
background: -moz-linear-gradient(top, #f8f8f8, #dadada);
border: 1px solid #aaa;
@@ -20,13 +14,9 @@
box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}
-.opr {
- color: #ff0000
-}
-
-.opd :not(.opr) {
- color: #0000ff
-}
+.opr { color: #ff0000 }
+.opd :not(.opr) { color: #0000ff }
+.current-item { background-color : #FF8; }
#offset-content {
height: 100px;
@@ -36,12 +26,12 @@
padding: 4px;
}
-li.parse-subcrumb:hover {
+.parsePathSubcomponent:hover {
/* padding: 4px;*/
background-color : #BBB
}
-li.parse-subcrumb {
+.parsePathSubcomponent {
display: block;
}
@@ -56,27 +46,19 @@ li.parse-subcrumb {
padding: 5px;
}
-.colored {
- background-color : #FF8;
-}
-
-.code-string {
- color: blue;
-}
-
#tooltip {
- position: absolute;
- z-index: 3000;
- border: 1px solid #111;
- background-color: #eee;
- padding: 5px;
- opacity: 0.85;
+ position: absolute;
+ z-index: 3000;
+ border: 1px solid #111;
+ background-color: #eee;
+ padding: 5px;
+ opacity: 0.85;
}
#tooltip h3, #tooltip div { margin: 0; }
/* Borrowed from docco */
/*--------------------- Layout and Typography ----------------------------*/
-body {
+body { /* probably need to select further */
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
font-size: 15px;
line-height: 22px;
@@ -262,4 +244,3 @@ body .docco-vg { color: #19469D } /* Name.Variable.Global */
body .docco-vi { color: #19469D } /* Name.Variable.Instance */
body .docco-il { color: #666666 } /* Literal.Number.Integer.Long */
-
View
8 i.html
@@ -4,14 +4,10 @@
<link rel="stylesheet" type="text/css" href="css/zbrew.css"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.mobile-1.1.0.js"></script>
+<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/hilite.js"></script>
</head>
<body>
- <div id="offset-content"></div>
- <div id="current-rule"></div>
- <div id="parse-crumbs"></div>
- <div style="display:none;">breadcrumbs: rule stack from top to reduce current selection</div>
- <pre class="code-top"></pre>
-
+ <div id="viewport">
</body>
</html>
Oops, something went wrong.

0 comments on commit 414d69e

Please sign in to comment.