Skip to content

Commit

Permalink
Merge pull request #23 from bboyle/bower
Browse files Browse the repository at this point in the history
remove legacy API
  • Loading branch information
bboyle committed Apr 3, 2014
2 parents 7e1652e + d92d3ef commit aa358a7
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 517 deletions.
17 changes: 3 additions & 14 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,8 @@ module.exports = function( grunt ) {
stripBanners: true
},
dist: {
src: [ 'src/jquery.<%= pkg.name %>.js' ],
dest: 'dist/jquery.<%= pkg.name %>.js'
},
legacy: {
src: [
'src/jquery.<%= pkg.name %>.js',
'src/jquery.<%= pkg.name %>.legacy-API.js',
],
dest: 'dist/jquery.forces.<%= pkg.name %>.js'
src: [ 'src/<%= pkg.name %>.js' ],
dest: 'dist/<%= pkg.name %>.js'
}
},
uglify: {
Expand All @@ -47,8 +40,7 @@ module.exports = function( grunt ) {
},
dist: {
files: {
'dist/jquery.<%= pkg.name %>.min.js': [ 'dist/jquery.<%= pkg.name %>.js' ],
'dist/jquery.forces.<%= pkg.name %>.min.js': [ 'dist/jquery.forces.<%= pkg.name %>.js' ]
'dist/<%= pkg.name %>.min.js': [ 'dist/<%= pkg.name %>.js' ]
}
},
},
Expand All @@ -61,21 +53,18 @@ module.exports = function( grunt ) {
urls: [
'http://localhost:8000/test/events.html?jquery=1.4.4',
'http://localhost:8000/test/instructions.html?jquery=1.4.4',
'http://localhost:8000/test/legacy-API.html?jquery=1.4.4',
'http://localhost:8000/test/plugin.html?jquery=1.4.4',
'http://localhost:8000/test/relevantWhen.html?jquery=1.4.4',
'http://localhost:8000/test/ui.html?jquery=1.4.4',
// 1.7.2
'http://localhost:8000/test/events.html?jquery=1.7.2',
'http://localhost:8000/test/instructions.html?jquery=1.7.2',
'http://localhost:8000/test/legacy-API.html?jquery=1.7.2',
'http://localhost:8000/test/plugin.html?jquery=1.7.2',
'http://localhost:8000/test/relevantWhen.html?jquery=1.7.2',
'http://localhost:8000/test/ui.html?jquery=1.7.2',
// 2.1.0
'http://localhost:8000/test/events.html?jquery=2.1.0',
'http://localhost:8000/test/instructions.html?jquery=2.1.0',
'http://localhost:8000/test/legacy-API.html?jquery=2.1.0',
'http://localhost:8000/test/plugin.html?jquery=2.1.0',
'http://localhost:8000/test/relevantWhen.html?jquery=2.1.0',
'http://localhost:8000/test/ui.html?jquery=2.1.0',
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "relevance",
"description": "Progressive disclosure (relevance) for HTML elements",
"version": "1.1.3",
"version": "1.1.4",
"homepage": "https://github.com/bboyle/relevance",
"authors": [
"Ben Boyle <benjamins.boyle@gmail.com>"
Expand Down
292 changes: 0 additions & 292 deletions dist/jquery.forces.relevance.js

This file was deleted.

4 changes: 0 additions & 4 deletions dist/jquery.forces.relevance.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion dist/jquery.relevance.js → dist/relevance.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! relevance - v1.1.3 - 2014-04-03
/*! relevance - v1.1.4 - 2014-04-03
* https://github.com/bboyle/relevance
* Copyright (c) 2014 Ben Boyle; Licensed MIT */
if ( jQuery !== 'undefined' ) {
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.relevance.min.js → dist/relevance.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
Expand Up @@ -2,7 +2,7 @@
"name": "relevance",
"title": "relevance",
"description": "Progressive disclosure (relevance) for HTML elements",
"version": "1.1.3",
"version": "1.1.4",
"homepage": "https://github.com/bboyle/relevance",
"author": {
"name": "Ben Boyle",
Expand Down
10 changes: 0 additions & 10 deletions src/jquery.relevance.legacy-API.js

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion test/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" media="screen">
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
<!-- Load local lib and tests. -->
<script src="../src/jquery.relevance.js"></script>
<script src="../src/relevance.js"></script>
<script src="events.js"></script>
<!-- Removing access to jQuery and $. But it'll still be available as _$, if
you REALLY want to mess around with jQuery in the console. REMEMBER WE
Expand Down
Loading

0 comments on commit aa358a7

Please sign in to comment.