Use individual strophe plugins instead of entire repo

This commit is contained in:
JC Brand 2017-02-16 12:49:21 +01:00
parent 16688ebe1c
commit 4a37c6940b
3 changed files with 11 additions and 12 deletions

View File

@ -38,10 +38,10 @@ require.config({
"strophe-sha1": "node_modules/strophe.js/src/sha1",
"strophe-utils": "node_modules/strophe.js/src/utils",
"strophe-websocket": "node_modules/strophe.js/src/websocket",
"strophe.disco": "node_modules/strophejs-plugins/disco/strophe.disco",
"strophe.ping": "node_modules/strophejs-plugins/ping/strophe.ping",
"strophe.rsm": "node_modules/strophejs-plugins/rsm/strophe.rsm",
"strophe.vcard": "node_modules/strophejs-plugins/vcard/strophe.vcard",
"strophe.disco": "node_modules/strophejs-plugin-disco/strophe.disco",
"strophe.ping": "node_modules/strophejs-plugin-ping/strophe.ping",
"strophe.rsm": "node_modules/strophejs-plugin-rsm/strophe.rsm",
"strophe.vcard": "node_modules/strophejs-plugin-vcard/strophe.vcard",
"text": "node_modules/text/text",
"tpl": "node_modules/lodash-template-loader/loader",
"typeahead": "components/typeahead.js/index",
@ -204,9 +204,6 @@ require.config({
// define module dependencies for modules not using define
shim: {
'awesomplete': { exports: 'Awesomplete' },
'backbone': { deps: ['underscore'] },
'strophe.ping': { deps: ['strophe'] },
'strophe.register': { deps: ['strophe'] },
'strophe.vcard': { deps: ['strophe'] },
'backbone': { deps: ['underscore'] }
}
});

View File

@ -18,12 +18,10 @@
You're still able to do everything from before but now also much more.
[jcbrand]
- Allow JIDs not on the roster to be invited to a chatroom. [jcbrand]
- #770 Allow setting contact attrs on chats.open [Ape]
## 2.0.7 (2017-02-15)
- Bugfix. 'TypeError: this.sendConfiguration(...).then is not a function' when an instant room is created. [jcbrand]
- Ensure consistent behavior from `show_controlbox_by_default` [jcbrand]
- #694 The `notification_option` wasn't being used consistently. [jcbrand]
- #770 Allow setting contact attrs on chats.open [Ape]
## 2.0.6 (2017-02-13)
- Escape user-generated input to prevent JS-injection attacks. (Thanks to SamWhited) [jcbrand]

View File

@ -68,7 +68,11 @@
"sinon": "^1.17.3",
"snyk": "^1.21.2",
"strophe.js": "1.2.12",
"strophejs-plugins": "0.0.7",
"strophejs-plugin-disco": "0.0.1",
"strophejs-plugin-ping": "0.0.1",
"strophejs-plugin-register": "0.0.1",
"strophejs-plugin-rsm": "0.0.1",
"strophejs-plugin-vcard": "0.0.1",
"text": "requirejs/text#2.0.15"
},
"dependencies": {}