Skip to content

Commit

Permalink
Merge pull request #14 from koala-framework/fix-on-ready
Browse files Browse the repository at this point in the history
Require onReady so that it's not undefined
  • Loading branch information
lllHuber committed Oct 2, 2019
2 parents 9925c45 + 944c4f3 commit 0e72c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions KwcShop/Kwc/Shop/AddToCart/Component.defer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var componentEvent = require('kwf/commonjs/component-event');
var onReady = require('kwf/commonjs/on-ready');

onReady.onRender('.kwcClass',function(el) {
el.find('.kwfUp-formContainer').on('kwfUp-form-submitSuccess', function (event) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var componentEvent = require('kwf/commonjs/component-event');
var onReady = require('kwf/commonjs/on-ready');

onReady.onRender('.kwcClass',function(el) {
el.find('.kwfUp-formContainer').on('kwfUp-form-submitSuccess', function (event) {
Expand Down

0 comments on commit 0e72c53

Please sign in to comment.