avg-core-ts
Version:
Develop Adventure Game (or ADV, Visual Novel, Galgame, etc.) on your own!
32 lines (27 loc) • 1.12 kB
JavaScript
/**
* @file Main export of the AVG.js library
* @author MicroMatrix <yangpan.1985@bytedance.com>
* @copyright 2012-2020 bytedance
* @link git@code.byted.org:yangpan.1985/avg.git
*/
/* eslint-disable */
export default function sayHello() {
if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {
const args = [
`\n %c %c %c AVG.js ${VERSION} - ✰ Setsumi ✰ %c %c https://avgjs.org/ %c %c 🍞🍞🍞 \n\n`,
'background: #EFCEA1; padding:5px 0;',
'background: #EFCEA1; padding:5px 0;',
'color: #EFCEA1; background: #794E3E; padding:5px 0;',
'background: #EFCEA1; padding:5px 0;',
'background: #FFF2D2; padding:5px 0;',
'background: #EFCEA1; padding:5px 0;',
'color: #ff2424; background: #fff; padding:5px 0;',
// 'color: #ff2424; background: #fff; padding:5px 0;',
// 'color: #ff2424; background: #fff; padding:5px 0;'
];
window.console.log.apply(console, args);
} else if (window.console) {
window.console.log(`AVG.js ${VERSION} - OpenSource - https://avgjs.org/`);
}
// saidHello = true;
}