Commit 4a6d8566 authored by JC Brand's avatar JC Brand

Use template loader that works with lodash.

Also update pluggable.js to a version that works with lodash.
parent 081f075a
......@@ -41,10 +41,9 @@ require.config({
"strophe.rsm": "node_modules/strophejs-plugins/rsm/strophe.rsm",
"strophe.vcard": "node_modules/strophejs-plugins/vcard/strophe.vcard",
"text": "node_modules/text/text",
"tpl": "node_modules/requirejs-undertemplate/tpl",
"tpl": "node_modules/lodash-template-loader/loader",
"typeahead": "components/typeahead.js/index",
"lodash": "node_modules/lodash/lodash",
"underscore": "node_modules/underscore/underscore",
"utils": "src/utils",
// Converse
......@@ -188,14 +187,17 @@ require.config({
map: {
// '*' means all modules will get 'jquery-private'
// for their 'jquery' dependency.
'*': { 'jquery': 'jquery-private' },
'*': {
'jquery': 'jquery-private',
"underscore": "lodash"
},
// 'jquery-private' wants the real jQuery module
// though. If this line was not here, there would
// be an unresolvable cyclic dependency.
'jquery-private': { 'jquery': 'jquery' }
},
tpl: {
lodashLoader: {
// Configuration for requirejs-tpl
// Use Mustache style syntax for variable interpolation
templateSettings: {
......
# Changelog
## 3.0.0 (Unreleased)
- Use lodash instead of underscore.js [jcbrand]
## 2.0.5 (2017-02-01)
- #743, #751, #753 Update to Strophe 1.2.12. SASL-EXTERNAL now has reduced priority, so it won't
be prioritized above other auth mechanisms. [jcbrand]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment