зеркало из https://github.com/mozilla/gecko-dev.git
Bug 583044 - Rename code references of TabCandy to TabView
Move files and update references to tabview from tabcandy. Only remaining candy reference is the link to aza's webm video.
This commit is contained in:
Родитель
411897722b
Коммит
88ef92422f
|
@ -532,7 +532,7 @@ iQClass.prototype = {
|
||||||
// Possible "options" properties:
|
// Possible "options" properties:
|
||||||
// duration - how long to animate, in milliseconds
|
// duration - how long to animate, in milliseconds
|
||||||
// easing - easing function to use. Possibilities include
|
// easing - easing function to use. Possibilities include
|
||||||
// 'tabcandyBounce', 'easeInQuad'. Default is 'ease'.
|
// "tabviewBounce", "easeInQuad". Default is "ease".
|
||||||
// complete - function to call once the animation is done, takes nothing
|
// complete - function to call once the animation is done, takes nothing
|
||||||
// in, but "this" is set to the element that was animated.
|
// in, but "this" is set to the element that was animated.
|
||||||
animate: function(css, options) {
|
animate: function(css, options) {
|
||||||
|
@ -543,7 +543,7 @@ iQClass.prototype = {
|
||||||
options = {};
|
options = {};
|
||||||
|
|
||||||
let easings = {
|
let easings = {
|
||||||
tabcandyBounce: 'cubic-bezier(0.0, 0.63, .6, 1.29)',
|
tabviewBounce: "cubic-bezier(0.0, 0.63, .6, 1.29)",
|
||||||
easeInQuad: 'ease-in', // TODO: make it a real easeInQuad, or decide we don't care
|
easeInQuad: 'ease-in', // TODO: make it a real easeInQuad, or decide we don't care
|
||||||
fast: 'cubic-bezier(0.7,0,1,1)'
|
fast: 'cubic-bezier(0.7,0,1,1)'
|
||||||
};
|
};
|
||||||
|
|
|
@ -476,7 +476,7 @@ let Utils = {
|
||||||
// Pass as many arguments as you want, it'll print them all.
|
// Pass as many arguments as you want, it'll print them all.
|
||||||
error: function() {
|
error: function() {
|
||||||
var text = this.expandArgumentsForLog(arguments);
|
var text = this.expandArgumentsForLog(arguments);
|
||||||
Cu.reportError('tabcandy error: ' + text);
|
Cu.reportError("tabview error: " + text);
|
||||||
},
|
},
|
||||||
|
|
||||||
// ----------
|
// ----------
|
||||||
|
@ -503,7 +503,7 @@ let Utils = {
|
||||||
if (typeof(label) == 'undefined')
|
if (typeof(label) == 'undefined')
|
||||||
text = 'badly formed assert';
|
text = 'badly formed assert';
|
||||||
else
|
else
|
||||||
text = 'tabcandy assert: ' + label;
|
text = "tabview assert: " + label;
|
||||||
|
|
||||||
this.trace(text);
|
this.trace(text);
|
||||||
}
|
}
|
||||||
|
@ -518,7 +518,7 @@ let Utils = {
|
||||||
if (typeof(label) == 'undefined')
|
if (typeof(label) == 'undefined')
|
||||||
text = 'badly formed assert';
|
text = 'badly formed assert';
|
||||||
else
|
else
|
||||||
text = 'tabcandy assert: ' + label;
|
text = "tabview assert: " + label;
|
||||||
|
|
||||||
// cut off the first two lines of the stack trace, because they're just this function.
|
// cut off the first two lines of the stack trace, because they're just this function.
|
||||||
text += Error().stack.replace(/^.*?\n.*?\n/, "");
|
text += Error().stack.replace(/^.*?\n.*?\n/, "");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче