Skip to content

Commit

Permalink
Rename stringToSlug to stringtoslug and cleanup bower
Browse files Browse the repository at this point in the history
  • Loading branch information
leocaseiro committed Feb 3, 2016
1 parent bb07b45 commit 83b2a0b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Install via Bower:
bower install --save jquery.stringtoslug
```

[Download](https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.1.zip):
[Download](https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.2.zip):
-----------------
[Click here to download the latest version](https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.1.zip)
[Click here to download the latest version](https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.2.zip)

Description
--------------
Expand Down
5 changes: 3 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "jquery.stringtoslug",
"version": "2.0.1",
"version": "2.0.2",
"homepage": "https://github.com/leocaseiro/jQuery-Plugin-stringToSlug",
"bugs": "https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/issues",
"authors": [
"Leo Caseiro"
],
"description": "Convert a STRING to a SLUG in any language using jQuery and SpeakingURL",
"main": "dist/jquery.stringToSlug.min.js",
"main": "dist/jquery.stringtoslug.min.js",
"license": "MIT",
"ignore": [
"**/.*",
Expand All @@ -17,6 +17,7 @@
"gulp.config.js",
"gulpfile.js",
"karma.conf.js",
"README.md",
"stringToSlug.jquery.json"
],
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.stringtoslug.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.stringtoslug",
"version": "2.0.1",
"version": "2.0.2",
"description": "Convert a STRING to a SLUG in any language",
"main": "gulp.config.js",
"directories": {
Expand Down
6 changes: 3 additions & 3 deletions samples.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
<h1 class="sts-title"><i class="fa fa-exchange"></i> jQuery StringToSlug</h1>
<p class="sts-subtitle">Convert any string into slugs and bind using jQuery</p>
<p>
<a href="https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.0.zip" class="btn btn-lg btn-white btn-outline"> <i class="glyphicon glyphicon-download-alt"></i> Download 2.0.0 (zip)</a>
<a href="https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.0.tar.gz" class="btn btn-lg btn-white btn-outline"> <i class="glyphicon glyphicon-download-alt"></i> Download 2.0.0 (tar.gz)</a>
<a href="https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.2.zip" class="btn btn-lg btn-white btn-outline"> <i class="glyphicon glyphicon-download-alt"></i> Download 2.0.2 (zip)</a>
<a href="https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.2.tar.gz" class="btn btn-lg btn-white btn-outline"> <i class="glyphicon glyphicon-download-alt"></i> Download 2.0.2 (tar.gz)</a>
<a href="https://github.com/leocaseiro/jQuery-Plugin-stringToSlug" class="btn btn-lg btn-white btn-outline"> <i class="fa fa-github"></i> View on Github</a>
</p>

Expand Down Expand Up @@ -688,7 +688,7 @@ <h2 class="page-header">callback</h2>
<!-- Dependency SpeakingURL -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/speakingurl/6.0.0/speakingurl.min.js"></script>
<!-- stringToSlug -->
<script type="text/javascript" src="dist/jquery.stringToSlug.min.js"></script>
<script type="text/javascript" src="dist/jquery.stringtoslug.min.js"></script>

<!-- Google Prettify -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.stringtoslug.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var _stringToSlug_API = function( text, options ) {
try {
text = getSlug( text, defaults.options );
} catch ( err ) {
console.warn( 'Make sure you insert speakingurl.min.js before jquery.stringToSlug.min.js' );
console.warn( 'Make sure you insert speakingurl.min.js before jquery.stringtoslug.min.js' );
}

stringToSlug = defaults.prefix + text + defaults.suffix; //Concatenate with prefix and suffix
Expand Down
4 changes: 2 additions & 2 deletions stringToSlug.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stringToSlug",
"version": "2.0.0",
"version": "2.0.2",
"title": "jQuery Plugin stringToSlug",
"description": "The stringToSlug converts any string to SLUG PERMALINK according unicode.org in most of Languages using special chars or not ())",
"keywords": [
Expand Down Expand Up @@ -30,7 +30,7 @@
"bugs": "https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/issues",
"homepage": "http://leocaseiro.github.io/jQuery-Plugin-stringToSlug/",
"docs": "http://leocaseiro.github.io/jQuery-Plugin-stringToSlug/",
"download": "https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/2.0.0.zip",
"download": "https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/2.0.2.zip",
"dependencies": {
"jquery": ">=1.2.2"
}
Expand Down

0 comments on commit 83b2a0b

Please sign in to comment.