summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/freeipa.profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/freeipa.profile.js')
-rw-r--r--install/ui/src/freeipa/freeipa.profile.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/freeipa.profile.js b/install/ui/src/freeipa/freeipa.profile.js
index be81f18fc..7a20134a5 100644
--- a/install/ui/src/freeipa/freeipa.profile.js
+++ b/install/ui/src/freeipa/freeipa.profile.js
@@ -4,12 +4,15 @@
var profile = (function(){
+
+ var js_files = /\.js$/;
+
return {
resourceTags: {
// all JavaScript files are AMD modules
amd: function(filename, mid) {
- return /\.js$/.test(filename);
+ return js_files.test(filename);
}
}
};