1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00
* 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:
SirStendec 2019-06-20 15:30:18 -04:00
parent 33e81bc7eb
commit 04aa1789a2
4 changed files with 7 additions and 6 deletions

View file

@ -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: () =>

View file

@ -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"

View file

@ -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) )

View file

@ -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`;