diff --git a/.eslintrc.js b/.eslintrc.js
index 8ef68565..0361c7c6 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,9 +1,13 @@
module.exports = {
- "env": {
+ env: {
"browser": true
},
- "extends": "eslint:recommended",
- "rules": {
+ globals: {
+ baguetteBox: true,
+ hljs: true
+ },
+ extends: "eslint:recommended",
+ rules: {
"indent": [
"error",
4
diff --git a/demo/index.html b/demo/index.html
index 74ac0869..0b498f2c 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -1,8 +1,8 @@
-
-
+
+
baguetteBox.js | Demo
@@ -105,14 +105,30 @@ Sample gallery
baguetteBox.run('.baguetteBoxOne');
Responsive images
@@ -127,10 +143,18 @@ Responsive images
</a>
FadeIn animation
@@ -141,10 +165,18 @@ FadeIn animation
});
Small images, buttons disabled (use arrows or swipe gesture)
@@ -154,10 +186,18 @@ Small images, buttons disabled (use arrows or swipe gesture)
});
Single image (buttons hidden by default, custom caption function)
@@ -169,14 +209,16 @@ Single image (buttons hidden by default, custom caption function)
});
Usage instructions and source code can be found on
GitHub