thirdparty-img:
@find $(THIRD-PARTY-RESOURCES) -name '*.png'
-# we might have any of these as templates - e.g. ./unfold/templates/plugin-setenv.js
+# we might have any of these as templates - e.g. ./unfold/templates/plugin-init.js
# so if there's a /templates/ in the path ignore the file
local-js: force
@find . -type f -name '*.js' | egrep -v '/all-(static|templates)/|/third-party/|/templates/'
hostname | grep -q '^z' && port=8080 || port=80
[[ -n "$@" ]] && port=$1
-make all-static all-templates
while true; do
+ make all-static all-templates
./manage.py runserver 0.0.0.0:$port
- make static templates
done
if self.export_json_settings():
env ['settings_json' ] = self.settings_json()
# compute plugin-specific initialization
- js_init = render_to_string ( 'plugin-setenv.js', env )
+ js_init = render_to_string ( 'plugin-init.js', env )
self.add_js_chunks (js_init)
# interpret the result of requirements ()
</head>{# let's add these ones no matter what #}
{% insert_str prelude "js/jquery.js" %}
{# {% insert prelude_js %} jQuery.noConflict(); {% endinsert %} #}
-{% insert_str prelude "js/plugin-init.js" %}
+{% insert_str prelude "js/init-all-plugins.js" %}
{% insert_str prelude "css/myslice.css" %}
<body>
{% block container %}