Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 8d02149

Browse files
chore(tslint): semicolon
1 parent c75051c commit 8d02149

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

src/directives/stateDirectives.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ uiStateDirective = ['$uiRouter', '$timeout',
423423
rawDef[field] = newval;
424424
update();
425425
}, true);
426-
})
426+
});
427427
});
428428

429429
update();
@@ -587,7 +587,7 @@ uiSrefActiveDirective = ['$state', '$stateParams', '$interpolate', '$uiRouter',
587587

588588
return function removeState() {
589589
removeFrom(states)(stateInfo);
590-
}
590+
};
591591
}
592592

593593
// Update route state

src/directives/viewDirective.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ import { ng1_directive } from './stateDirectives';
1919
export type UIViewData = {
2020
$cfg: Ng1ViewConfig;
2121
$uiView: ActiveUIView;
22-
}
22+
};
2323

2424
/** @hidden */
2525
export type UIViewAnimData = {
2626
$animEnter: Promise<any>;
2727
$animLeave: Promise<any>;
2828
$$animLeave: { resolve: () => any; } // "deferred"
29-
}
29+
};
3030

3131
/**
3232
* `ui-view`: A viewport directive which is filled in by a view from the active state.

src/templateFactory.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
2727
/** @hidden */
2828
useHttpService(value: boolean) {
2929
this._useHttp = value;
30-
};
30+
}
3131

3232
/**
3333
* Creates a template from a configuration object.
@@ -56,7 +56,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
5656
isDefined(config.componentProvider) ? asComponent(this.fromComponentProvider(config.componentProvider, params, context)) :
5757
asTemplate(defaultTemplate)
5858
);
59-
};
59+
}
6060

6161
/**
6262
* Creates a template from a string or a function returning a string.
@@ -69,7 +69,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
6969
*/
7070
fromString(template: (string | Function), params?: RawParams) {
7171
return isFunction(template) ? (<any> template)(params) : template;
72-
};
72+
}
7373

7474
/**
7575
* Loads a template from the a URL via `$http` and `$templateCache`.
@@ -92,7 +92,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
9292
}
9393

9494
return this.$templateRequest(url);
95-
};
95+
}
9696

9797
/**
9898
* Creates a template by invoking an injectable provider function.
@@ -107,7 +107,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
107107
const providerFn = isArray(provider) ? tail(<any[]> provider) : provider;
108108
const resolvable = new Resolvable('', <Function> providerFn, deps);
109109
return resolvable.get(context);
110-
};
110+
}
111111

112112
/**
113113
* Creates a component's template by invoking an injectable provider function.
@@ -121,7 +121,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
121121
const providerFn = isArray(provider) ? tail(<any[]> provider) : provider;
122122
const resolvable = new Resolvable('', <Function> providerFn, deps);
123123
return resolvable.get(context);
124-
};
124+
}
125125

126126
/**
127127
* Creates a template from a component's name
@@ -183,7 +183,7 @@ export class TemplateFactory implements TemplateFactoryProvider {
183183
const attrs = getComponentBindings(component).map(attributeTpl).join(' ');
184184
const kebobName = kebob(component);
185185
return `<${kebobName} ${attrs}></${kebobName}>`;
186-
};
186+
}
187187
}
188188

189189
// Gets all the directive(s)' inputs ('@', '=', and '<') and outputs ('&')

src/urlRouterProvider.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class UrlRouterProvider {
8686
const rule = new BaseUrlRule(match, identity);
8787
this._urlRouter.rule(rule);
8888
return this;
89-
};
89+
}
9090

9191
/**
9292
* Defines the path or behavior to use when no url can be matched.
@@ -126,7 +126,7 @@ export class UrlRouterProvider {
126126
}
127127

128128
return this;
129-
};
129+
}
130130

131131
/**
132132
* Registers a handler for a given url matching.
@@ -173,7 +173,7 @@ export class UrlRouterProvider {
173173

174174
this._urlRouter.when(what, handler as any);
175175
return this;
176-
};
176+
}
177177

178178
/**
179179
* Disables monitoring of the URL.
@@ -207,5 +207,5 @@ export class UrlRouterProvider {
207207
*/
208208
deferIntercept(defer?: boolean) {
209209
this._urlRouter.deferIntercept(defer);
210-
};
210+
}
211211
}

0 commit comments

Comments
 (0)