fixed webstatic

This commit is contained in:
George Hotz 2014-07-18 12:13:08 -07:00
parent 8ac0f4a738
commit 80829cbc6f
3 changed files with 4 additions and 4 deletions

View File

@ -4,9 +4,9 @@ wget http://localhost:3000/template.qira.js
#wget $(grep style index.html | awk '{ print $3 }' | sed 's/href="/http:\/\/localhost:3000/' | sed 's/\.css.*/\.map/')
#wget $(grep style index.html | awk '{ print $3 }' | sed 's/href="/http:\/\/localhost:3000/' | sed 's/\.css.*/\.css/')
JSFILES=$(wget -qO- http://localhost:3000/index.html | grep packages | awk '{ print $3 }' | sed 's/src="/http:\/\/localhost:3000/' | sed 's/?.*//' | grep -v "livedata" | grep -v "application-configuration")
JSFILES=$(wget -qO- http://localhost:3000/index.html | grep packages | awk '{ print $3 }' | sed 's/src="/http:\/\/localhost:3000/' | sed 's/?.*//' | grep -v "livedata" | grep -v "autoupdate" | grep -v "application-configuration")
echo $JSFILES
wget -qO- $JSFILES | grep -v "^//# sourceMappingURL=" | grep -v "^DDP = Package.livedata.DDP;$" > package.js
wget -qO- $JSFILES | grep -v "^//# sourceMappingURL=" | grep -v "DDP = Package.livedata.DDP;$" | grep -v "Autoupdate = Package.autoupdate.Autoupdate;$" > package.js
yui-compressor package.js -o package.js
# *** FOR DEBUGGING ***

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
(function(){
UI.body.contentParts.push(UI.Component.extend({render: (function() {
var self = this;
return [ HTML.Raw('<div id="vtimelinebox">\n<div id="vtimeline">\n</div>\n</div>\n'), HTML.DIV({
return [ HTML.Raw('<div id="vtimelinebox">\n<!--<div class="vtimeline" id="vtimeline0"></div>\n<div class="vtimeline" id="vtimeline1"></div>-->\n<div id="trash">delete</div>\n</div>\n'), HTML.DIV({
id: "onlypanel"
}, "\n", HTML.DIV({
id: "controls"