summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/freeipa.profile.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-11-12 14:06:53 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-01-18 15:10:36 +0100
commitbe0a120134680c5977f8a8c9e6d359944fa1f2ab (patch)
treef18345ce492e108702b8b298912f77cf0087d5cf /install/ui/src/freeipa/freeipa.profile.js
parentb9ef6ab0c412913234f05f788b3fcd3c3277eb69 (diff)
downloadfreeipa-be0a120134680c5977f8a8c9e6d359944fa1f2ab.tar.gz
freeipa-be0a120134680c5977f8a8c9e6d359944fa1f2ab.tar.xz
freeipa-be0a120134680c5977f8a8c9e6d359944fa1f2ab.zip
Update JavaScript Lint configuration file
Update is needed because various files were moved to different directories. https://fedorahosted.org/freeipa/ticket/112
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);
}
}
};