diff --git a/Gruntfile.js b/Gruntfile.js index 8b565cb..d80c31f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -42,9 +42,9 @@ module.exports = function(grunt) { concat: { dist: { files: { - 'dist/jquery.remodal.js': 'src/jquery.remodal.js', - 'dist/jquery.remodal.css': 'src/jquery.remodal.css', - 'dist/jquery.remodal-default-theme.css': 'src/jquery.remodal-default-theme.css' + 'dist/remodal.js': 'src/remodal.js', + 'dist/remodal.css': 'src/remodal.css', + 'dist/remodal-default-theme.css': 'src/remodal-default-theme.css' }, options: { banner: '<%= meta.banner %>' @@ -63,10 +63,10 @@ module.exports = function(grunt) { csscomb: { all: { files: { - 'src/jquery.remodal.css': 'src/jquery.remodal.css', - 'src/jquery.remodal-default-theme.css': 'src/jquery.remodal-default-theme.css', - 'dist/jquery.remodal.css': 'dist/jquery.remodal.css', - 'dist/jquery.remodal-default-theme.css': 'dist/jquery.remodal-default-theme.css' + 'src/remodal.css': 'src/remodal.css', + 'src/remodal-default-theme.css': 'src/remodal-default-theme.css', + 'dist/remodal.css': 'dist/remodal.css', + 'dist/remodal-default-theme.css': 'dist/remodal-default-theme.css' } } }, @@ -126,7 +126,7 @@ module.exports = function(grunt) { uglify: { remodal: { files: { - 'dist/jquery.remodal.min.js': 'src/jquery.remodal.js' + 'dist/remodal.min.js': 'src/remodal.js' } }, options: { diff --git a/README.md b/README.md index 75e7193..f5bcee1 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,15 @@ npm install remodal bower install remodal ``` -Include the CSS file from the dist folder in the head section: +Include the CSS files from the dist folder in the head section: ```html - + + ``` Include the JS file from the dist folder before the ``: ```html - + ``` You can define the background container for the modal(for effects like a blur). It can be any simple content wrapper: @@ -132,7 +133,7 @@ window.REMODAL_GLOBALS = { } }; - + ``` #### NAMESPACE diff --git a/bower.json b/bower.json index 658edd0..250f2e7 100644 --- a/bower.json +++ b/bower.json @@ -7,8 +7,9 @@ ], "description": "Responsive, lightweight, fast, fully customizable modal window plugin with declarative configuration and hash tracking.", "main": [ - "dist/jquery.remodal.js", - "dist/jquery.remodal.css" + "dist/remodal.js", + "dist/remodal.css", + "dist/remodal-default-theme.css" ], "ignore": [ "**/.*", @@ -18,8 +19,7 @@ "test/", "*.md", "Gruntfile.js", - "package.json", - "remodal.jquery.json" + "package.json" ], "keywords": [ "jquery", diff --git a/examples/index-zepto.html b/examples/index-zepto.html index e840452..89d0c6f 100644 --- a/examples/index-zepto.html +++ b/examples/index-zepto.html @@ -6,8 +6,8 @@ Remodal example - - + +