Skip to content

Commit

Permalink
Sunsetting
Browse files Browse the repository at this point in the history
  • Loading branch information
benplum committed Apr 4, 2015
2 parents ee8302e + 719dd59 commit b318b40
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 84 deletions.
7 changes: 5 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,17 @@ module.exports = function(grunt) {
// Readme
grunt.registerTask('buildReadme', 'Build Formstone README.md file.', function () {
var pkg = grunt.file.readJSON('package.json'),
extra = grunt.file.exists('src/README.md') ? '\n\n---\n\n' + grunt.file.read('src/README.md') : '';
destination = "README.md",
markdown = '<a href="http://gruntjs.com" target="_blank"><img src="https://cdn.gruntjs.com/builtwith.png" alt="Built with Grunt"></a> \n' +
markdown = '<h2>Development of this plugin has ended. Please upgrade to the new <a href="http://formstone.it">Formstone</a>.</h2><br> \n\n' +
'<a href="http://gruntjs.com" target="_blank"><img src="https://cdn.gruntjs.com/builtwith.png" alt="Built with Grunt"></a> \n' +
'# ' + pkg.name + ' \n\n' +
pkg.description + ' \n\n' +
'- [Demo](' + pkg.demo + ') \n' +
'- [Documentation](' + pkg.homepage + ') \n\n' +
'#### Bower Support \n' +
'`bower install ' + pkg.name + '`';
'`bower install ' + pkg.name + '` ' +
extra;

grunt.file.write(destination, markdown);
grunt.log.writeln('File "' + destination + '" created.');
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<h2>Development of this plugin has ended. Please upgrade to the new <a href="http://formstone.it">Formstone</a>.</h2><br>

<a href="http://gruntjs.com" target="_blank"><img src="https://cdn.gruntjs.com/builtwith.png" alt="Built with Grunt"></a>
# Tabber

A jQuery plugin for adding simple tabbed interfaces. Part of the Formstone Library.

- [Demo](http://formstone.it/components/Tabber/demo/index.html)
- [Documentation](http://formstone.it/tabber/)
- [Demo](http://classic.formstone.it/components/Tabber/demo/index.html)
- [Documentation](http://classic.formstone.it/tabber/)

#### Bower Support
`bower install Tabber`
`bower install Tabber`
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "http://www.benplum.com"
},
"license": "MIT",
"homepage": "http://formstone.it/tabber/",
"homepage": "http://classic.formstone.it/tabber/",
"ignore": [
"*.jquery.json",
"Gruntfile.js",
Expand Down
35 changes: 3 additions & 32 deletions jquery.fs.tabber.css
Original file line number Diff line number Diff line change
@@ -1,37 +1,8 @@
/*
* Tabber v3.0.13 - 2014-09-14
* Tabber v3.0.13 - 2015-04-04
* A jQuery plugin for adding simple tabbed interfaces. Part of the Formstone Library.
* http://formstone.it/tabber/
* http://classic.formstone.it/tabber/
*
* Copyright 2014 Ben Plum; MIT Licensed
* Copyright 2015 Ben Plum; MIT Licensed
*/

.tabber { overflow: hidden; }

.tabber .tabber-menu { display: block; margin: 0; padding: 0; }
.tabber .tabber-handle { color: #999; cursor: pointer; display: block; float: left;
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
-o-transition: none;
transition: none;
}
.tabber .tabber-handle.active { color: #333; }
.tabber .tabber-handle.mobile { display: none; float: none; }

.tabber .tabber-tab { clear: both; display: none; }
.tabber .tabber-tab.active { display: block; }

/* Vertical */
.tabber.vertical .tabber-menu { float: left; width: 20%; }
.tabber.vertical .tabber-handle { display: block; width: 100%; }
.tabber.vertical .tabber-handle.mobile { display: none; }

.tabber.vertical .tabber-tab { clear: none; float: right; min-height: 100%; width: 80%; }

/* Mobile */
.tabber.mobile .tabber-handle { display: none; }
.tabber.mobile .tabber-handle.mobile { display: block; }

.tabber.vertical.mobile .tabber-menu,
.tabber.vertical.mobile .tabber-tab { float: none; width: 100%; }
8 changes: 4 additions & 4 deletions jquery.fs.tabber.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Tabber v3.0.13 - 2014-09-14
* Tabber v3.0.13 - 2015-04-04
* A jQuery plugin for adding simple tabbed interfaces. Part of the Formstone Library.
* http://formstone.it/tabber/
* http://classic.formstone.it/tabber/
*
* Copyright 2014 Ben Plum; MIT Licensed
* Copyright 2015 Ben Plum; MIT Licensed
*/

;(function ($, window) {
Expand Down Expand Up @@ -37,7 +37,7 @@
*/
defaults: function(opts) {
options = $.extend(options, opts || {});
return $(this);
return (typeof this === 'object') ? $(this) : true;
},

/**
Expand Down
8 changes: 4 additions & 4 deletions jquery.fs.tabber.min.js

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
],
"repository": {
"type": "git",
"url": "https://github.com/Formstone/Tabber"
"url": "https://github.com/FormstoneClassic/Tabber"
},
"homepage": "http://formstone.it/tabber/",
"demo": "http://formstone.it/components/Tabber/demo/index.html",
"homepage": "http://classic.formstone.it/tabber/",
"demo": "http://classic.formstone.it/components/Tabber/demo/index.html",
"license": "MIT",
"author": {
"name": "Ben Plum",
Expand Down
29 changes: 0 additions & 29 deletions src/jquery.fs.tabber.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/jquery.fs.tabber.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
defaults: function(opts) {
options = $.extend(options, opts || {});
return $(this);
return (typeof this === 'object') ? $(this) : true;
},

/**
Expand Down
10 changes: 5 additions & 5 deletions tabber.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"jquery",
"formstone"
],
"docs": "http://formstone.it/tabber/",
"demo": "http://formstone.it/tabber/",
"download": "https://github.com/Formstone/Tabber",
"bugs": "https://github.com/Formstone/Tabber/issues",
"homepage": "http://formstone.it/tabber/"
"docs": "http://classic.formstone.it/tabber/",
"demo": "http://classic.formstone.it/tabber/",
"download": "https://github.com/FormstoneClassic/Tabber",
"bugs": "https://github.com/FormstoneClassic/Tabber/issues",
"homepage": "http://classic.formstone.it/tabber/"
}

0 comments on commit b318b40

Please sign in to comment.