Created
July 5, 2017 09:23
-
-
Save bka/ac919a34bf64fc87879c5f694b5f810b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
'Magento_Swatches/js/swatch-renderer', | |
], function (Renderer) { | |
Renderer.prototype.originalMethod = Renderer.prototype._RenderSwatchOptions; | |
Renderer.prototype._RenderSwatchOptions = function(config) { | |
return this.originalMethod(config); | |
}; | |
return Renderer; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment