From da0217405f2d40f024bccafd937800b142e6a952 Mon Sep 17 00:00:00 2001 From: Yohn Date: Sun, 23 Dec 2012 06:51:46 -0500 Subject: [PATCH 1/3] data-toggle instead of rel for tooltip and popover --- docs/assets/js/application.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index ba77673000..cc442ade4f 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -43,14 +43,14 @@ // tooltip demo $('.tooltip-demo').tooltip({ - selector: "a[rel=tooltip]" + selector: "a[data-toggle=tooltip]" }) $('.tooltip-test').tooltip() $('.popover-test').popover() // popover demo - $("a[rel=popover]") + $("a[data-toggle=popover]") .popover() .click(function(e) { e.preventDefault() @@ -153,4 +153,4 @@ $.ajaxTransport('jsonpi', function(opts, originalOptions, jqXHR) { } }) -}(window.jQuery) \ No newline at end of file +}(window.jQuery) From 5da8b315c0689a0625f5d6b7f9104226994865d1 Mon Sep 17 00:00:00 2001 From: Yohn Date: Sun, 23 Dec 2012 07:00:03 -0500 Subject: [PATCH 2/3] data-toggle instead of rel for tooltip and popover --- docs/javascript.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/javascript.html b/docs/javascript.html index 95cd6d5e64..37f7df925b 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -769,17 +769,17 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.

Hover over the links below to see tooltips:

-

Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral. +

Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral.

Four directions

@@ -858,7 +858,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Markup

For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.

-
<a href="#" rel="tooltip" title="first tooltip">hover over me</a>
+
<a href="#" data-toggle="tooltip" title="first tooltip">hover over me</a>

Methods

$().tooltip(options)

@@ -930,16 +930,16 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Live demo

Four directions

From dfbac13ad1cdaac808c1bedc869248d84fa46959 Mon Sep 17 00:00:00 2001 From: Yohn Date: Sun, 23 Dec 2012 07:04:24 -0500 Subject: [PATCH 3/3] data-toggle instead of rel for tooltip and popover --- docs/templates/pages/javascript.mustache | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 809e34ce9c..dee6bb0f93 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -699,17 +699,17 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

{{_i}}Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.{{/i}}

{{_i}}Hover over the links below to see tooltips:{{/i}}

-

{{_i}}Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral.{{/i}} +

{{_i}}Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral.{{/i}}

{{! /example }}

{{_i}}Four directions{{/i}}

{{! /example }} @@ -788,7 +788,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

{{_i}}Markup{{/i}}

{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}

-
<a href="#" rel="tooltip" title="{{_i}}first tooltip{{/i}}">{{_i}}hover over me{{/i}}</a>
+
<a href="#" data-toggle="tooltip" title="{{_i}}first tooltip{{/i}}">{{_i}}hover over me{{/i}}</a>

{{_i}}Methods{{/i}}

$().tooltip({{_i}}options{{/i}})

@@ -860,16 +860,16 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Live demo

{{_i}}Four directions{{/i}}

{{! /example }}