rally-jasmine-core 1.2.0.1 → 1.2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -154,7 +154,7 @@ jasmine.HtmlReporter = function(_doc) {
|
|
154
154
|
dom.symbolSummary = self.createDom('ul', {className: 'symbolSummary'}),
|
155
155
|
dom.alert = self.createDom('div', {className: 'alert'},
|
156
156
|
self.createDom('span', { className: 'exceptions' },
|
157
|
-
self.createDom('label', { className: 'label',
|
157
|
+
self.createDom('label', { className: 'label', for: 'no_try_catch' }, 'No try/catch'),
|
158
158
|
self.createDom('input', { id: 'no_try_catch', type: 'checkbox' }))),
|
159
159
|
dom.results = self.createDom('div', {className: 'results'},
|
160
160
|
dom.summary = self.createDom('div', { className: 'summary' }),
|
@@ -406,12 +406,18 @@ jasmine.HtmlReporter.SpecView = function(spec, dom, views) {
|
|
406
406
|
this.detail = this.createDom('div', { className: 'specDetail' },
|
407
407
|
this.createDom('a', {
|
408
408
|
className: 'description',
|
409
|
-
href: '
|
409
|
+
href: this.createQueryString(['spec=' + encodeURIComponent(this.spec.getFullName())]),
|
410
410
|
title: this.spec.getFullName()
|
411
411
|
}, this.spec.getFullName())
|
412
412
|
);
|
413
413
|
};
|
414
414
|
|
415
|
+
jasmine.HtmlReporter.SpecView.prototype.createQueryString = function(paramsToAdd) {
|
416
|
+
var query = window.location.search.substring(1);
|
417
|
+
var vars = query.split('&').concat(paramsToAdd);
|
418
|
+
return '?' + vars.join('&');
|
419
|
+
};
|
420
|
+
|
415
421
|
jasmine.HtmlReporter.SpecView.prototype.status = function() {
|
416
422
|
return this.getSpecStatus(this.spec);
|
417
423
|
};
|
data/lib/jasmine-core/jasmine.js
CHANGED
data/lib/jasmine-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rally-jasmine-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 75
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 1.2.0.
|
10
|
+
- 2
|
11
|
+
version: 1.2.0.2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Matt Parrish
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date:
|
22
|
+
date: 2013-01-24 00:00:00 Z
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|