Permalink
Browse files

Some after-merge cleanup

  • Loading branch information...
1 parent 86c4c86 commit b2b300be7b56c5f4e39647c11593348c4b5f3c5b @sindresorhus sindresorhus committed Apr 21, 2012
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,27 +0,0 @@
-/*global $ */
-(function() {
- 'use strict';
-
- // Demos popover
- function hover() {
- $( this ).popover('toggle');
- }
-
- $('#demos li a').each(function() {
- var $this = $( this );
- $this.popover({
- placement: 'in right',
- animation: false,
- title: $this.text() + '<a href="' + $this.data('source') + '">Go to site</a>'
- });
- })
- .off()
- .hoverIntent( hover, hover )
- .on('click', '.popover', function( e ) {
- // Prevent click on the popover, but allow links inside
- if ( e.target.nodeName.toLowerCase() !== 'a' ) {
- e.preventDefault();
- }
- });
-
-})();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes

0 comments on commit b2b300b

Please sign in to comment.