MVC4: After bundling the ViewModel JS is not working properly but without bundling the functionality is working fine
- How to compare the JS libraries loaded in the webpage without bundling and after bundling
- We are using jq2.1.3 & Knockout.js 3.4.0 not sure if there are any known issues against this library when bundled
- using System.Web.Optimization; (v1.1.3) using BundleTransformer.Core.Transformers; 1.9.34 using BundleTransformer.Yui.Minifiers;
- Code snippet - If Condition works fine irrespective of bundling but currText is coming as undefined when bundled. Actually the UI has to render both the staticText + currText but somehow it is not rendering the staticText
if (condition.ms() && serverData.currentTransaction.effectiveDate >= constants.ProductVersionDate.pd3) {
var currText = obj.model.model.wdng._lv;
obj.model.model.wdng._lv= obj.model.model.statictext+ currText;
Any help or directions will be much helpful .