osiris355 osiris355 - 3 months ago 15
Javascript Question

At build Angular App stops on library function closures Cordova

I have an Ionic/Angular app built using Visual Studio 2013 with Cordova. Every time I build my project it stops on the function closures of many of my js files/libraries. I have to hit resume 5 or 6 times to get my project to finish building. There are obviously no breakpoints in these locations. Is there something I can do to fix this or at least tell visual studio to ignore these locations?

Here is an example:

(function () {
"use strict";

}()); //<<<<-------APP stops here at build

This happens very frequently on common angular libraries I have injected into my module as well as well as some of my own js files that are not injected into the module. Here is my module:

var mgmtAppModule = angular.module('mgmtAppModule', ['ionic', 'ngResource', 'ngMaterial', 'ngCookies'])


This resolved with a newer version of cordova for visual studio.