Skip to content

Commit

Permalink
deps: Move xdate from static/third to npm
Browse files Browse the repository at this point in the history
- Remove `xdate` from `static/third` and fetch it from `npm`.
- Bump up the `PROVISION_VERSION` to 4.3.

Fixes zulip#1709.
  • Loading branch information
refeed committed Jan 11, 2017
1 parent 3193fbb commit adbcc66
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 868 deletions.
4 changes: 0 additions & 4 deletions docs/THIRDPARTY
Expand Up @@ -187,10 +187,6 @@ Files: static/third/spectrum/*
Copyright: 2013 Brian Grinstead
License: Expat

Files: static/third/xdate/*
Copyright: 2010 C. F., Wong
License: Expat

Files: static/third/zocial/*
Copyright: Sam Collins
License: Expat
Expand Down
2 changes: 1 addition & 1 deletion frontend_tests/node_tests/message_edit.js
Expand Up @@ -2,7 +2,7 @@ set_global('document', null);
set_global('page_params', {});

add_dependencies({
XDate: 'third/xdate/xdate.dev.js',
XDate: 'node_modules/xdate/src/xdate.js',
});

var message_edit = require('js/message_edit.js');
Expand Down
2 changes: 1 addition & 1 deletion frontend_tests/node_tests/message_list_view.js
Expand Up @@ -3,7 +3,7 @@ var MessageListView = require('js/message_list_view.js');

add_dependencies({
$: 'jquery',
XDate: 'third/xdate/xdate.dev.js',
XDate: 'node_modules/xdate/src/xdate.js',
util: 'js/util.js',
});

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -18,6 +18,7 @@
"underscore": "1.8.3",
"webpack": "1.12.2",
"winchan": "0.2.0",
"xdate": "0.8.0",
"zxcvbn": "4.4.1"
},
"devDependencies": {
Expand Down

0 comments on commit adbcc66

Please sign in to comment.