Use zrequire in node_tests/narrow.js.

This commit is contained in:
Steve Howell
2017-08-09 12:28:34 -04:00
committed by Tim Abbott
parent 2f775c3e0b
commit 9e054c8b3b

View File

@@ -1,13 +1,11 @@
add_dependencies({
hash_util: 'js/hash_util.js',
hashchange: 'js/hashchange.js',
narrow_state: 'js/narrow_state.js',
people: 'js/people.js',
stream_data: 'js/stream_data.js',
Filter: 'js/filter.js',
});
zrequire('hash_util');
zrequire('hashchange');
zrequire('narrow_state');
zrequire('people');
zrequire('stream_data');
zrequire('Filter', 'js/filter');
var narrow = require('js/narrow.js');
zrequire('narrow');
var narrow_state = global.narrow_state;