From 25219f402268494362047d1f40619a13f4489f1f Mon Sep 17 00:00:00 2001 From: Patrick Kunka Date: Tue, 8 May 2018 23:29:53 +0100 Subject: [PATCH] docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00fc8db..791ec4a 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,10 @@ You may then import the `easydropdown()` factory function into your project's mo import easydropdown from 'easydropdown'; // CommonJS -var easydropdown = require('easydropdown'); +const easydropdown = require('easydropdown'); // AMD/RequireJS -define(['easydropdown/bundles/easydropdown.js'] , function(easydropdown) { +define(['easydropdown/bundles/easydropdown.js'] , easydropdown => { ... }); ```