justravis Posted January 17, 2017 Share Posted January 17, 2017 When I try to minify code, this line... setInfoWindowContent( marker, wpslLabels.startPoint, infoWindow, currentMap ); gets this error..Unexpected token punc «(», expected punc «:»Any thoughts?THANKS! Quote Link to comment https://forums.phpfreaks.com/topic/302954-javascript-unexpected-token-punc-%C2%AB%C2%BB-expected-punc-%C2%AB%C2%BB/ Share on other sites More sharing options...
kicken Posted January 17, 2017 Share Posted January 17, 2017 What's above that code? I'm going to guess you are running into issues resulting from Automatic Semi-colon insertion. Quote Link to comment https://forums.phpfreaks.com/topic/302954-javascript-unexpected-token-punc-%C2%AB%C2%BB-expected-punc-%C2%AB%C2%BB/#findComment-1541504 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.