@@ -145,7 +145,7 @@ function updateScope(node = null, val = null, apply = true) {
145145 }
146146
147147 // try {
148- // scope.$applyAsync ();
148+ // scope.$apply ();
149149 // }
150150 // catch (error) {
151151 // }
@@ -223,7 +223,7 @@ async function updateHAL(scope = null) {
223223 settings = await parsePreprocessor ( hal , settings ) ;
224224 updateFields ( settings , halloaded ) ;
225225 if ( scope ) {
226- scope . $applyAsync ( ) ;
226+ scope . $apply ( ) ;
227227 }
228228}
229229
@@ -245,7 +245,7 @@ async function updateTool(scope = null, tool = null) {
245245 settings = await parsePreprocessor ( tool , settings ) ;
246246 updateFields ( settings , toolloaded ) ;
247247 if ( scope ) {
248- scope . $applyAsync ( ) ;
248+ scope . $apply ( ) ;
249249 }
250250}
251251
@@ -285,7 +285,7 @@ async function updateBoardmap(scope = null) {
285285 settings = await parsePreprocessor ( boardurl , [ ] , true ) ;
286286 updateFields ( settings , boardloaded , true ) ;
287287 if ( scope ) {
288- scope . $applyAsync ( ) ;
288+ scope . $apply ( ) ;
289289 }
290290
291291 scope . PREV_MCU = scope . MCU ;
@@ -1023,7 +1023,7 @@ var controller = app.controller('uCNCcontroller', ['$scope', '$rootScope', funct
10231023 fn ( ) ;
10241024 }
10251025 } else {
1026- this . $applyAsync ( fn ) ;
1026+ this . $apply ( fn ) ;
10271027 }
10281028 } ;
10291029
@@ -1684,7 +1684,7 @@ ready(function () {
16841684 // resp.json().then((data) => {
16851685 // debugger;
16861686 // scope.PREBUILD_CONFIGS = data;
1687- // scope.$applyAsync ();
1687+ // scope.$apply ();
16881688 // });
16891689 // });
16901690
0 commit comments