From 24a792ab7b46dac34a9034612eab965971771a5c Mon Sep 17 00:00:00 2001 From: Stefan Penner Date: Wed, 5 Aug 2015 23:12:56 -0700 Subject: [PATCH] fix CC --- CODE_OF_CONDUCT.md | 18 +++++++++--------- can-use-input-files.js | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index b9fca52..98fe2cd 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,9 +1,9 @@ -+The Ember team and community are committed to everyone having a safe and inclusive experience. -+ -+**Our Community Guidelines / Code of Conduct can be found here**: -+ -+http://emberjs.com/guidelines/ -+ -+For a history of updates, see the page history here: -+ -+https://github.com/emberjs/website/commits/master/source/guidelines.html.erb +The Ember team and community are committed to everyone having a safe and inclusive experience. + +**Our Community Guidelines / Code of Conduct can be found here**: + +http://emberjs.com/guidelines/ + +For a history of updates, see the page history here: + +https://github.com/emberjs/website/commits/master/source/guidelines.html.erb diff --git a/can-use-input-files.js b/can-use-input-files.js index 660aa98..b329a69 100644 --- a/can-use-input-files.js +++ b/can-use-input-files.js @@ -2,6 +2,6 @@ module.exports = function canUseInputFiles(inputFiles) { if (!Array.isArray(inputFiles)) { return false; } return inputFiles.filter(function(file) { - return !/[\{\}\*]/.test(file); + return !/[\{\}\|\*\?\!]/.test(file); }).length === inputFiles.length; };