Skip to content

Commit 33d1fd4

Browse files
committed
Lint
1 parent 21c2747 commit 33d1fd4

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/core/compile/compile.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3664,7 +3664,6 @@ describe("$compile", () => {
36643664
return {
36653665
transclude: "element",
36663666
link: function (scope, el, attrs, ctrl, transclude) {
3667-
debugger;
36683667
const res = transclude();
36693668
el.after(res);
36703669
},

src/directive/options/options.spec.js

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,11 @@ describe("ngOptions", () => {
159159
beforeEach(() => {
160160
window.angular = new Angular();
161161
window.angular
162-
.module("myModule", ["ng",
162+
.module("myModule", [
163+
"ng",
163164
($compileProvider, $provide) => {
164165
linkLog = [];
165-
166+
166167
$compileProvider
167168
.directive("customSelect", () => ({
168169
restrict: "E",
@@ -176,27 +177,29 @@ describe("ngOptions", () => {
176177
scope.selectable_options = scope.options;
177178
},
178179
}))
179-
180+
180181
.directive("oCompileContents", () => ({
181182
link(scope, element) {
182183
linkLog.push("linkCompileContents");
183184
$compile(JQLite(element[0].childNodes))(scope);
184185
},
185186
}))
186-
187+
187188
.directive("observeChildList", () => ({
188189
link(scope, element) {
189190
const config = { childList: true };
190-
191-
childListMutationObserver = new window.MutationObserver(() => {});
191+
192+
childListMutationObserver = new window.MutationObserver(
193+
() => {},
194+
);
192195
childListMutationObserver.observe(element[0], config);
193196
},
194197
}));
195-
198+
196199
$provide.decorator("ngOptionsDirective", ($delegate) => {
197200
const origPreLink = $delegate[0].link.pre;
198201
const origPostLink = $delegate[0].link.post;
199-
202+
200203
$delegate[0].compile = function () {
201204
return {
202205
pre: origPreLink,
@@ -206,7 +209,7 @@ describe("ngOptions", () => {
206209
},
207210
};
208211
};
209-
212+
210213
return $delegate;
211214
});
212215
},
@@ -219,7 +222,7 @@ describe("ngOptions", () => {
219222

220223
injector = window.angular.bootstrap(document.getElementById("dummy"), [
221224
"myModule",
222-
]);
225+
]);
223226

224227
$compile = injector.get("$compile");
225228
scope = injector.get("$rootScope").$new(); // create a child scope because the root scope can't be $destroy-ed

src/directive/setter/setter.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export function ngSetterDirective($parse) {
2222

2323
const updateModel = (value) => {
2424
if (value !== "") {
25-
debugger;
2625
const maybeNumber = convertToNumberOrString(value);
2726
assignModel(scope, maybeNumber);
2827
scope.$digest();
@@ -59,7 +58,6 @@ export function ngSetterDirective($parse) {
5958

6059
scope.$on("$destroy", () => observer.disconnect());
6160
const content = element.html();
62-
debugger;
6361
updateModel(content);
6462
},
6563
};

0 commit comments

Comments
 (0)