IMPR: UI version info

This commit is contained in:
Tony Air 2020-09-10 07:41:31 +07:00
parent 268044c6bf
commit 0d963161ac
5 changed files with 16 additions and 8 deletions

2
dist/js/app.js vendored

File diff suppressed because one or more lines are too long

2
dist/js/app.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "2.5.0",
"version": "2.5.1",
"author": "Tony Air <tony@twma.pro>",
"license": "MIT",
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",

View File

@ -46,7 +46,7 @@ const EventsUI = (($) => {
// rewrite scrollTop
$.fn.scrollTop = function () {
let el = this;
let args = arguments;
const args = arguments;
const tagName = typeof el !== undefined ? $(el).prop('tagName') : null;

View File

@ -27,10 +27,18 @@ const MainUI = (($) => {
const NAME = 'MainUI';
console.clear();
console.info(
'%cUI Kit: https://github.com/a2nt/webpack-bootstrap-ui-kit by Tony Air (tony@twma.pro)',
'color:yellow;font-size:16px',
);
if (typeof UINAME !== 'undefined') {
console.info(
`%cUI Kit ${UINAME} ${UIVERSION}`,
'color:yellow;font-size:14px',
);
console.info(
`%chttps://github.com/a2nt/webpack-bootstrap-ui-kit by ${UIAUTHOR}`,
'color:yellow;font-size:10px',
);
}
console.groupCollapsed('Events');
Object.keys(Events).forEach((k) => {
console.info(`${k}: ${Events[k]}`);