require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
- dojo.addOnLoad(function () {
+ ready(function () {
PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED_CDM, function (row) {
if (row) {
console.log("af_zz_noautoplay!");
return true;
});
-
});
-
});
\ No newline at end of file
-dojo.addOnLoad(function() {
- updateTitle = function() {
- document.title = "Tiny Tiny RSS";
- };
+require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
+ ready(function () {
+ updateTitle = function () {
+ document.title = "Tiny Tiny RSS";
+ };
+ });
});
-dojo.addOnLoad(function() {
- hash_set = function() { };
- hash_get = function() { };
+require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
+ ready(function () {
+ hash_set = function () {
+ };
+ hash_get = function () {
+ };
+ });
});
+
require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
- dojo.addOnLoad(function() {
+ ready(function() {
PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED_CDM, function(row) {
if (getInitParam('cdm_expanded')) {