mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.5.4
* Fixed: Raven's updated Vue plugin causing Vue to fail to load. * Fixed: Placeholder text when editing chat ban reasons.
This commit is contained in:
parent
33e81bc7eb
commit
04aa1789a2
4 changed files with 7 additions and 6 deletions
|
@ -149,7 +149,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}`).join('\n\n'
|
|||
FrankerFaceZ.Logger = Logger;
|
||||
|
||||
const VER = FrankerFaceZ.version_info = {
|
||||
major: 4, minor: 5, revision: 3,
|
||||
major: 4, minor: 5, revision: 4,
|
||||
commit: __git_commit__,
|
||||
build: __webpack_hash__,
|
||||
toString: () =>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<input
|
||||
v-else
|
||||
v-model="edit_data.text"
|
||||
:placeholder="adding ? t('setting.reasons.add-placeholder', 'Add a new reason') : edit_data"
|
||||
:placeholder="adding ? t('setting.reasons.add-placeholder', 'Add a new reason') : edit_data.text"
|
||||
type="text"
|
||||
class="tw-block tw-full-width tw-border-radius-medium tw-font-size-6 tw-full-width tw-input tw-pd-x-1 tw-pd-y-05"
|
||||
autocapitalize="off"
|
||||
|
|
|
@ -24,13 +24,13 @@ export class Vue extends Module {
|
|||
const [
|
||||
ObserveVisibility,
|
||||
Clickaway,
|
||||
RavenVue,
|
||||
//RavenVue,
|
||||
Components
|
||||
|
||||
] = await Promise.all([
|
||||
import(/* webpackChunkName: "vue" */ 'vue-observe-visibility'),
|
||||
import(/* webpackChunkName: "vue" */ 'vue-clickaway'),
|
||||
import(/* webpackChunkName: "vue" */ 'raven-js/plugins/vue'),
|
||||
//import(/* webpackChunkName: "vue" */ 'raven-js/plugins/vue'),
|
||||
import(/* webpackChunkName: "vue" */ 'src/std-components/index.js')
|
||||
]);
|
||||
|
||||
|
@ -39,8 +39,8 @@ export class Vue extends Module {
|
|||
Vue.use(ObserveVisibility);
|
||||
Vue.mixin(Clickaway.mixin);
|
||||
|
||||
if ( ! DEBUG && this.root.raven )
|
||||
this.root.raven.addPlugin(RavenVue, Vue);
|
||||
/*if ( ! DEBUG && this.root.raven )
|
||||
this.root.raven.addPlugin(RavenVue, Vue);*/
|
||||
|
||||
for(const key in components)
|
||||
if ( has(components, key) )
|
||||
|
|
|
@ -49,6 +49,7 @@ module.exports = merge(common, {
|
|||
}
|
||||
]),
|
||||
new ManifestPlugin({
|
||||
publicPath: '',
|
||||
map: data => {
|
||||
if ( data.name.endsWith('.scss') )
|
||||
data.name = `${data.name.substr(0,data.name.length - 5)}.css`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue