Elgg  Version 2.2
ui.river.js
Go to the documentation of this file.
1 
8 require(['elgg'], function (elgg) {
9  elgg.provide('elgg.ui.river');
10 
11  elgg.ui.river.init = function () {
12  elgg.deprecated_notice('ui.river.js library has been deprecated. Update core/river/filter and forms/comment/save views to require component AMD modules instead.', '2.2')
13  require(['core/river/filter', 'forms/comment/save']);
14  };
15 
16  elgg.register_hook_handler('init', 'system', elgg.ui.river.init);
17 });
elgg
Definition: install.js:23
require(['elgg'], function(elgg){elgg.provide('elgg.ui.river');elgg.ui.river.init=function(){elgg.deprecated_notice('ui.river.js library has been deprecated.Update core/river/filter and forms/comment/save views to require component AMD modules instead.', '2.2') require(['core/river/filter', 'forms/comment/save']);};elgg.register_hook_handler('init', 'system', elgg.ui.river.init);})
This file is registered as a elgg/ui.river.js view in engine/views.php and loaded as elgg...