1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 03:05:22 +02:00

minor code review

This commit is contained in:
gorhill 2016-03-01 08:32:47 -05:00
parent dc75d80595
commit b451d1ce06

View File

@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
µBlock - a browser extension to block requests. uBlock Origin - a browser extension to block requests.
Copyright (C) 2014 Raymond Hill Copyright (C) 2014-2016 Raymond Hill
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -19,7 +19,7 @@
Home: https://github.com/gorhill/uBlock Home: https://github.com/gorhill/uBlock
*/ */
/* global vAPI, uDom */ /* global uDom */
/******************************************************************************/ /******************************************************************************/
@ -34,7 +34,7 @@ var messager = vAPI.messaging.channel('about.js');
/******************************************************************************/ /******************************************************************************/
var onAppDataReady = function(appData) { var onAppDataReady = function(appData) {
uDom('#aboutNameVer').html(appData.name + ' v' + appData.version); uDom('#aboutNameVer').text(appData.name + ' v' + appData.version);
}; };
messager.send({ what: 'getAppData' }, onAppDataReady); messager.send({ what: 'getAppData' }, onAppDataReady);