Mercurial > public > sg101
comparison gpp/settings.py @ 186:be3fff614b93
Implement #66; use jQuery UI autocomplete widget to replace obsolete jquery-autocomplete plugin. I implemented a very simple caching system.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 30 Mar 2010 01:30:32 +0000 |
parents | 4e1abeb593c2 |
children | d293b423bdaf |
comparison
equal
deleted
inserted
replaced
185:afb65fa947f1 | 186:be3fff614b93 |
---|---|
217 # should also be used by developers when creating form media classes. | 217 # should also be used by developers when creating form media classes. |
218 GPP_THIRD_PARTY_JS = { | 218 GPP_THIRD_PARTY_JS = { |
219 'jquery': ( | 219 'jquery': ( |
220 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', | 220 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', |
221 ), | 221 ), |
222 'jquery-autocomplete': ( | |
223 'js/jquery-autocomplete/lib/jquery.bgiframe.min.js', | |
224 'js/jquery-autocomplete/lib/jquery.ajaxQueue.js', | |
225 'js/jquery-autocomplete/jquery.autocomplete.js', | |
226 ), | |
227 'jquery-jeditable': ( | 222 'jquery-jeditable': ( |
228 'js/jquery.jeditable.mini.js', | 223 'js/jquery.jeditable.mini.js', |
229 ), | 224 ), |
230 'jquery-ui': ( | 225 'jquery-ui': ( |
231 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js', | 226 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js', |
241 } | 236 } |
242 GPP_THIRD_PARTY_CSS = { | 237 GPP_THIRD_PARTY_CSS = { |
243 'jquery-ui': ( | 238 'jquery-ui': ( |
244 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/redmond/jquery-ui.css', | 239 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/redmond/jquery-ui.css', |
245 ), | 240 ), |
246 'jquery-autocomplete': ( | |
247 'js/jquery-autocomplete/jquery.autocomplete.css', | |
248 ), | |
249 'markitup': ( | 241 'markitup': ( |
250 'js/markitup/skins/markitup/style.css', | 242 'js/markitup/skins/markitup/style.css', |
251 'js/markitup/sets/markdown/style.css', | 243 'js/markitup/sets/markdown/style.css', |
252 ), | 244 ), |
253 } | 245 } |