git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grouped all views under trash/ for now - at least they're all in the same place
[myslice.git]
/
engine
/
prelude.py
diff --git
a/engine/prelude.py
b/engine/prelude.py
index
2905355
..
fe628f2
100644
(file)
--- a/
engine/prelude.py
+++ b/
engine/prelude.py
@@
-30,9
+30,7
@@
class Prelude:
for i in Prelude._normalize (x):
if i not in self.css_files: self.css_files.append(i)
def add_js_chunks (self, x):
for i in Prelude._normalize (x):
if i not in self.css_files: self.css_files.append(i)
def add_js_chunks (self, x):
- print 'add_js_chunks BEFORE',len(self.js_chunks)
self.js_chunks += Prelude._normalize (x)
self.js_chunks += Prelude._normalize (x)
- print 'add_js_chunks AFTER',len(self.js_chunks)
def add_css_chunks (self, x):
self.css_chunks += Prelude._normalize (x)
def add_css_chunks (self, x):
self.css_chunks += Prelude._normalize (x)
@@
-58,8
+56,6
@@
class Prelude:
#
# so a much simpler and safer approach is for use to compute the html header directly
def template_env (self):
#
# so a much simpler and safer approach is for use to compute the html header directly
def template_env (self):
- inspect = self.inspect ('template_env')
- print inspect
env={}
env['js_files']= self.js_files
env['css_files']= self.css_files
env={}
env['js_files']= self.js_files
env['css_files']= self.css_files