summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/phantomjs-polyfill/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/bower_components/phantomjs-polyfill/README.md')
-rw-r--r--www/crm/wp-content/plugins/civicrm/civicrm/bower_components/phantomjs-polyfill/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/phantomjs-polyfill/README.md b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/phantomjs-polyfill/README.md
new file mode 100644
index 00000000..de67ecda
--- /dev/null
+++ b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/phantomjs-polyfill/README.md
@@ -0,0 +1,26 @@
+# Function.prototype.bind polyfill for PhantomJS
+
+This is a polyfill for function.prototype.bind which is missing from [PhantomJS](http://phantomjs.org/).
+
+## Installation
+
+```
+npm install --save-dev phantomjs-polyfill
+```
+
+## Usage
+
+```
+require('phantomjs-polyfill')
+```
+
+### Usage with Karma
+
+Include the polyfill directly in the files list of your karma.conf
+```
+...
+files: [
+ './node_modules/phantomjs-polyfill/bind-polyfill.js',
+ ...
+]
+...