Skip to content

Commit

Permalink
Fixed ablypl#3
Browse files Browse the repository at this point in the history
Signed-off-by: Kristaps Kazarevskis <kristaps.kazarevskis@gmail.com>
  • Loading branch information
Kristaps Kazarevskis committed Apr 12, 2019
1 parent 9ede5a4 commit 1fe46f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

import BannerAd from './components/BannerAd'

export default {
sizes : {
banner: [[1200, 600], [1200, 400], [300, 250], [300, 300]],
Expand All @@ -11,7 +13,7 @@ export default {
* @param options
*/
install(Vue, options){
Vue.component('google-ad', require('./components/BannerAd'));
Vue.component('google-ad', BannerAd);

this.init(options, Vue)
},
Expand Down

1 comment on commit 1fe46f3

@fahad-hasan-ratul
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kristabs G'day mate, would you consider sending a pull request with this fix to upstream?

Please sign in to comment.