Skip to content

Commit

Permalink
Remove 'jquery' prefix in the files (Solves vodkabears#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed May 16, 2015
1 parent 1c25661 commit d947661
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 26 deletions.
16 changes: 8 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>'
Expand All @@ -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'
}
}
},
Expand Down Expand Up @@ -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: {
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<link rel="stylesheet" href="../dist/jquery.remodal.css">
<link rel="stylesheet" href="../dist/remodal.css">
<link rel="stylesheet" href="../dist/remodal-default-theme.css">
```

Include the JS file from the dist folder before the `</body>`:
```html
<script src="../dist/jquery.remodal.min.js"></script>
<script src="../dist/remodal.min.js"></script>
```

You can define the background container for the modal(for effects like a blur). It can be any simple content wrapper:
Expand Down Expand Up @@ -132,7 +133,7 @@ window.REMODAL_GLOBALS = {
}
};
</script>
<script src="../dist/jquery.remodal.js"></script>
<script src="../dist/remodal.js"></script>
```

#### NAMESPACE
Expand Down
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
"**/.*",
Expand All @@ -18,8 +19,7 @@
"test/",
"*.md",
"Gruntfile.js",
"package.json",
"remodal.jquery.json"
"package.json"
],
"keywords": [
"jquery",
Expand Down
6 changes: 3 additions & 3 deletions examples/index-zepto.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>Remodal example</title>
<meta name="description" content="Remodal example">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../dist/jquery.remodal.css">
<link rel="stylesheet" href="../dist/jquery.remodal-default-theme.css">
<link rel="stylesheet" href="../dist/remodal.css">
<link rel="stylesheet" href="../dist/remodal-default-theme.css">
<style>
.remodal-bg.with-red-theme.remodal-is-opening,
.remodal-bg.with-red-theme.remodal-is-opened {
Expand Down Expand Up @@ -247,7 +247,7 @@ <h2>Another one window</h2>

<script src="http://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.4/zepto.js"></script>
<script>window.Zepto || document.write('<script src="../libs/zepto/zepto.min.js"><\/script>')</script>
<script src="../dist/jquery.remodal.js"></script>
<script src="../dist/remodal.js"></script>

<!-- Events -->
<script>
Expand Down
6 changes: 3 additions & 3 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>Remodal example</title>
<meta name="description" content="Remodal example">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../dist/jquery.remodal.css">
<link rel="stylesheet" href="../dist/jquery.remodal-default-theme.css">
<link rel="stylesheet" href="../dist/remodal.css">
<link rel="stylesheet" href="../dist/remodal-default-theme.css">
<style>
.remodal-bg.with-red-theme.remodal-is-opening,
.remodal-bg.with-red-theme.remodal-is-opened {
Expand Down Expand Up @@ -247,7 +247,7 @@ <h2>Another one window</h2>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../libs/jquery/dist/jquery.min.js"><\/script>')</script>
<script src="../dist/jquery.remodal.js"></script>
<script src="../dist/remodal.js"></script>

<!-- Events -->
<script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"homepage": "http://vodkabears.github.io/remodal/",
"license": "MIT",
"main": "dist/jquery.remodal.js",
"main": "dist/remodal.js",
"dependencies": {
"jquery": "*"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions test/remodal.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<script src="../libs/qunit/qunit/qunit.js"></script>

<!-- Load local lib and tests -->
<link rel="stylesheet" href="../src/jquery.remodal.css">
<link rel="stylesheet" href="../src/jquery.remodal-default-theme.css">
<script src="../src/jquery.remodal.js"></script>
<link rel="stylesheet" href="../src/remodal.css">
<link rel="stylesheet" href="../src/remodal-default-theme.css">
<script src="../src/remodal.js"></script>
<script src="remodal_test.js"></script>
<style>
.remodal-overlay.without-animation.remodal-is-opening,
Expand Down

0 comments on commit d947661

Please sign in to comment.