Skip to content

Commit c89a13b

Browse files
committed
Run cleanrepo.
1 parent f6a7167 commit c89a13b

File tree

6 files changed

+68
-70
lines changed

6 files changed

+68
-70
lines changed

src/lib/windowobject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
1+
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
22
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
33

44
// requestAnimationFrame polyfill by Erik Möller

src/profiler/profiler.1.1.responses.getevents.js

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
// Autogenerated by hob
1+
// Autogenerated by hob
22
window.cls || (window.cls = {});
33
cls.Profiler || (cls.Profiler = {});
44
cls.Profiler["1.1"] || (cls.Profiler["1.1"] = {});
55

66
cls.Profiler["1.1"].Events = function(arr)
77
{
8-
/**
8+
/**
99
* Represents the smallest `Interval` which is large enough to cover all the
1010
* `Intervals` of each individual `Event` in the list.
11-
*
11+
*
1212
* Is not set if `eventList` is empty.
1313
*/
1414
this.interval = arr[0] ? new cls.Profiler["1.1"].Interval(arr[0], this) : null;
15-
/**
15+
/**
1616
* List of `Events`. The `Events` are ordered according to the start time of
1717
* their `Intervals` (increasing order).
1818
*/
@@ -24,12 +24,12 @@ cls.Profiler["1.1"].Events = function(arr)
2424

2525
cls.Profiler["1.1"].Interval = function(arr)
2626
{
27-
/**
27+
/**
2828
* The start of the `Interval`. If not present, this is an left-open
2929
* `Interval` ([-inf, N]).
3030
*/
3131
this.start = arr[0];
32-
/**
32+
/**
3333
* The end of the `Interval`. If not present, this is an right-open
3434
* `Interval` ([N, +inf]).
3535
*/
@@ -38,133 +38,133 @@ cls.Profiler["1.1"].Interval = function(arr)
3838

3939
cls.Profiler["1.1"].Event = function(arr)
4040
{
41-
/**
41+
/**
4242
* The type of `Event`. Some `Events` carry additional information relevant
4343
* to their type.
4444
*/
4545
// cls.Profiler["1.1"].Event.EventType
4646
this.type = arr[0];
47-
/**
47+
/**
4848
* The time spent on this task. (Self-time). This time takes place at some
4949
* (unknown) point in the `Interval`.
50-
*
50+
*
5151
* Does not include `overhead`.
5252
*/
5353
this.time = arr[1];
54-
/**
54+
/**
5555
* Profiling overhead. This is the time spent doing things which would
5656
* normally not happen if we had not been profiling, e.g. storing the
5757
* selector text for CSS selector `Events`.
58-
*
58+
*
5959
* The overhead takes place at some (unknown) point in the `Interval`.
6060
*/
6161
this.overhead = arr[2];
62-
/**
62+
/**
6363
* Number of hits on this `Event`.
6464
*/
6565
this.hits = arr[3];
66-
/**
66+
/**
6767
* The `Interval` in which the `Event` took place. An `Event` may consume time
6868
* across multiple time slices (e.g. thread evaluation) without requiring
6969
* *all* the time in that `Interval`.
70-
*
70+
*
7171
* The `time` field contains the time actually spent working on the `Event`.
7272
* There is no exact start and end time for `Events` which are spread across
7373
* time slices, because the self-time spent is fragmented across the
7474
* `Interval`.
75-
*
75+
*
7676
* We can therefore only know that the `time` spent on this `Event` happened
7777
* some time in this `Interval`, but not exactly where. (It would be
7878
* possible to expose each fragment of execution, of course, but the amount
7979
* of data required to represent this would be to large to handle).
80-
*
80+
*
8181
* The start of the `Interval` represents the first time we started working
8282
* on this `Event`. The end of the `Interval` represents the last time we
8383
* were done working on this `Event`.
8484
*/
8585
this.interval = arr[4] ? new cls.Profiler["1.1"].Interval(arr[4], this) : null;
86-
/**
86+
/**
8787
* The non-zero ID of this `Event`.
8888
*/
8989
this.eventID = arr[5];
90-
/**
90+
/**
9191
* The parent `Event` ID, or not set if this is a top-level `Event`.
9292
*/
9393
this.parentEventID = arr[6];
94-
/**
94+
/**
9595
* The number of immediate children (not grandchildren) for this `Event`.
9696
*/
9797
this.childCount = arr[7];
98-
/**
98+
/**
9999
* Aggregated `time` for all children, including `time` for this `Event`.
100100
*/
101101
this.aggregatedTime = arr[8];
102-
/**
102+
/**
103103
* Aggregated `overhead` for all children, including `overhead` for this
104104
* `Event`.
105105
*/
106106
this.aggregatedOverhead = arr[9];
107-
/**
107+
/**
108108
* Additional information for `CSS_SELECTOR_MATCHING` `Events`.
109109
*/
110110
this.cssSelectorMatching = arr[10] ? new cls.Profiler["1.1"].CssSelectorMatchingEvent(arr[10], this) : null;
111-
/**
111+
/**
112112
* Additional information for `SCRIPT_THREAD_EVALUATION` `Events`.
113113
*/
114114
this.scriptThreadEvaluation = arr[11] ? new cls.Profiler["1.1"].ScriptThreadEvaluationEvent(arr[11], this) : null;
115-
/**
115+
/**
116116
* Additional information for `DOCUMENT_PARSING` `Events`.
117117
*/
118118
this.documentParsing = arr[12] ? new cls.Profiler["1.1"].DocumentParsingEvent(arr[12], this) : null;
119-
/**
119+
/**
120120
* Additional information for `CSS_PARSING` `Events`.
121121
*/
122122
this.cssParsing = arr[13] ? new cls.Profiler["1.1"].CssParsingEvent(arr[13], this) : null;
123-
/**
123+
/**
124124
* Additional information for `SCRIPT_COMPILATION` `Events`.
125125
*/
126126
this.scriptCompilation = arr[14] ? new cls.Profiler["1.1"].ScriptCompilationEvent(arr[14], this) : null;
127-
/**
127+
/**
128128
* Additional information for `PAINT` `Events`.
129129
*/
130130
this.paint = arr[15] ? new cls.Profiler["1.1"].PaintEvent(arr[15], this) : null;
131131
};
132132

133133
cls.Profiler["1.1"].CssSelectorMatchingEvent = function(arr)
134134
{
135-
/**
135+
/**
136136
* The selector text, e.g. "#foo .bar".
137137
*/
138138
this.selector = arr[0];
139139
};
140140

141141
cls.Profiler["1.1"].ScriptThreadEvaluationEvent = function(arr)
142142
{
143-
/**
143+
/**
144144
* What kind of thread the `Event` represents.
145145
*/
146146
// cls.Profiler["1.1"].ScriptThreadEvaluationEvent.ScriptThreadType
147147
this.scriptThreadType = arr[0];
148-
/**
148+
/**
149149
* If `scriptThreadType` is `EVENT`, this field will contain the event name,
150150
* e.g. 'load'.
151-
*
151+
*
152152
* In all other cases, this field is not set.
153153
*/
154154
this.eventName = arr[1];
155155
};
156156

157157
cls.Profiler["1.1"].DocumentParsingEvent = function(arr)
158158
{
159-
/**
159+
/**
160160
* The URL of the document that was parsed.
161161
*/
162162
this.url = arr[0];
163163
};
164164

165165
cls.Profiler["1.1"].CssParsingEvent = function(arr)
166166
{
167-
/**
167+
/**
168168
* The URL of the stylesheet that was parsed. If the stylesheet is inlined
169169
* in another document, that document is used as the URL.
170170
*/
@@ -173,12 +173,12 @@ cls.Profiler["1.1"].CssParsingEvent = function(arr)
173173

174174
cls.Profiler["1.1"].ScriptCompilationEvent = function(arr)
175175
{
176-
/**
176+
/**
177177
* Describes the origin of the script.
178178
*/
179179
// cls.Profiler["1.1"].ScriptCompilationEvent.ScriptType
180180
this.scriptType = arr[0];
181-
/**
181+
/**
182182
* The URL of the stylesheet that was parsed. If the stylesheet is inlined
183183
* in another document, that document is used as the URL.
184184
*/
@@ -187,14 +187,14 @@ cls.Profiler["1.1"].ScriptCompilationEvent = function(arr)
187187

188188
cls.Profiler["1.1"].PaintEvent = function(arr)
189189
{
190-
/**
190+
/**
191191
* The `Area` that was painted, in document coordinates relative the upper
192192
* left corner of the view.
193193
*/
194194
this.area = arr[0] ? new cls.Profiler["1.1"].Area(arr[0], this) : null;
195195
};
196196

197-
/**
197+
/**
198198
* Defines an `Area` by its top-left corner and width/height.
199199
*/
200200
cls.Profiler["1.1"].Area = function(arr)
@@ -203,9 +203,9 @@ cls.Profiler["1.1"].Area = function(arr)
203203
this.y = arr[1];
204204
this.w = arr[2];
205205
this.h = arr[3];
206-
/**
206+
/**
207207
* The scroll offsets of the view in which area is defined.
208-
*
208+
*
209209
* @since 1.1
210210
*/
211211
this.ox = arr[4];

src/profiler/profiler.1.1.responses.stopprofiler.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
// Autogenerated by hob
1+
// Autogenerated by hob
22
window.cls || (window.cls = {});
33
cls.Profiler || (cls.Profiler = {});
44
cls.Profiler["1.1"] || (cls.Profiler["1.1"] = {});
55

66
cls.Profiler["1.1"].Session = function(arr)
77
{
8-
/**
8+
/**
99
* Non-zero ID for the `Session`. This must be used when accessing `Events`
1010
* from a `Timeline` within the `Session`, and when releasing the
1111
* `Session`.
1212
*/
1313
this.sessionID = arr[0];
14-
/**
14+
/**
1515
* The ID of the window associated with a `Session`.
16-
*
16+
*
1717
* This field may not be present if the `Session` is not associated with a
1818
* window. (Currently not applicable, but field is made optional for
1919
* future compatibility).
2020
*/
2121
this.windowID = arr[1];
22-
/**
22+
/**
2323
* `Timelines` contained within the `Session`. This will typically contain
2424
* one `Timeline` for each frame that existed in the window at some point
2525
* during profiling.
@@ -32,17 +32,17 @@ cls.Profiler["1.1"].Session = function(arr)
3232

3333
cls.Profiler["1.1"].Timeline = function(arr)
3434
{
35-
/**
35+
/**
3636
* Non-zero ID for the `Timeline`. This must be used when accessing `Events`
3737
* from the `Timeline`.
3838
*/
3939
this.timelineID = arr[0];
40-
/**
40+
/**
4141
* If the `Timeline` is associated with a frame, the ID of the frame will be
4242
* stored here. If the frame was removed during profiling, it will not be
4343
* possible to access additional information about the frame from
4444
* 'DocumentManager'.
45-
*
45+
*
4646
* Also, this field may not be present if the `Timeline` is not associated
4747
* with a frame. (Currently not applicable, but field is made optional for
4848
* future compatibility).

src/ui-scripts/zoomer/zoomer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.overlay-size-change,
1+
.overlay-size-change,
22
.overlay-size-change .zoomer-overlay,
33
.overlay-size-change .zoomer-overlay-handle
44
{

src/ui-scripts/zoomer/zoomer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"use strict";
1+
"use strict";
22

33
/**
44
* @constructor

src/ui-strings/ui_strings-en.js

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,24 @@ ui_strings.S_PROFILER_CALCULATING = "Calculating…";
13531353
/* DESC: Label in a tooltip, the duration of an event, e.g. "20 ms" */
13541354
ui_strings.S_PROFILER_DURATION = "Duration";
13551355

1356+
/* DESC: Button text for filter showing only events with a self time of at least 15 ms */
1357+
ui_strings.S_PROFILER_FILTER_15MS = "> 15 ms";
1358+
1359+
/* DESC: Button title for filter showing only events with a self time of at least 15 ms */
1360+
ui_strings.S_PROFILER_FILTER_15MS_TITLE = "Show events with a self time of at least 15 ms";
1361+
1362+
/* DESC: Button text for filter showing only events with a self time of at least 1 ms */
1363+
ui_strings.S_PROFILER_FILTER_1MS = "> 1 ms";
1364+
1365+
/* DESC: Button title for filter showing only events with a self time of at least 1 ms */
1366+
ui_strings.S_PROFILER_FILTER_1MS_TITLE = "Show events with a self time of at least 1 ms";
1367+
1368+
/* DESC: Button text for filter showing all events */
1369+
ui_strings.S_PROFILER_FILTER_ALL = "All";
1370+
1371+
/* DESC: Button title for filter showing all events */
1372+
ui_strings.S_PROFILER_FILTER_ALL_TITLE = "Show all events";
1373+
13561374
/* DESC: Message in the profiler when no data was "captured" by the profiler. I.e. nothing happened on the page between the time the profiler started and stopped. */
13571375
ui_strings.S_PROFILER_NO_DATA = "No data";
13581376

@@ -1800,23 +1818,3 @@ ui_strings.S_TOGGLE_PAUSED_UPDATING_NETWORK_VIEW = "Pause updating network activ
18001818
/* DESC: String shown instead of filename when file name is missing */
18011819
ui_strings.S_UNKNOWN_SCRIPT = "(Unknown script)";
18021820

1803-
/* DESC: Button text for filter showing all events */
1804-
ui_strings.S_PROFILER_FILTER_ALL = "All";
1805-
1806-
/* DESC: Button text for filter showing only events with a self time of at least 1 ms */
1807-
ui_strings.S_PROFILER_FILTER_1MS = "> 1 ms";
1808-
1809-
/* DESC: Button text for filter showing only events with a self time of at least 15 ms */
1810-
ui_strings.S_PROFILER_FILTER_15MS = "> 15 ms";
1811-
1812-
/* DESC: Button title for filter showing all events */
1813-
ui_strings.S_PROFILER_FILTER_ALL_TITLE = "Show all events";
1814-
1815-
/* DESC: Button title for filter showing only events with a self time of at least 1 ms */
1816-
ui_strings.S_PROFILER_FILTER_1MS_TITLE = "Show events with a self time of at least 1 ms";
1817-
1818-
/* DESC: Button title for filter showing only events with a self time of at least 15 ms */
1819-
ui_strings.S_PROFILER_FILTER_15MS_TITLE = "Show events with a self time of at least 15 ms";
1820-
1821-
1822-

0 commit comments

Comments
 (0)