Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 6cafd0e

Browse files
author
Kamil Kisiela
committed
style(runs): lint error free
1 parent 00ee575 commit 6cafd0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runs/md-theme-manipulator.js renamed to src/runs/theme.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ from './../helpers/index.js';
55

66
export default (formlyConfigProvider) => {
77
formlyConfigProvider.templateManipulators.preWrapper.push((template, options) => {
8+
// adds md-theme only when:
9+
// templateOptions.theme is defined
810
if (angular.isDefined(options.templateOptions.theme)) {
911
return ngModelAttrsManipulator(template, options, 'md-theme', options.templateOptions.theme);
1012
}

0 commit comments

Comments
 (0)