Closed Bug 638080 Opened 15 years ago Closed 12 years ago

Can't book flights on Virgin Blue website ($ is not defined error)

Categories

(Tech Evangelism Graveyard :: English Other, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: beltzner, Unassigned)

Details

This may be TE, but: STR: 1. Go to http://virginblue.com.au 2. Try to book a flight from Sydney to Perth 3. Select flights and press "Continue" Expected: move on in flight booking flow Actual: ------ Error: $ is not defined Source File: http://book.virginblue.com.au/js/VirginBlue/virginBlueScript.js?v=43.8 Line: 1 ------ (Also broken in Chromium Dev channel builds, but works in IE9)
jquery-api.js has "use strict" and then includes some libraries like jQuery. This causes strict-mode errors: [15:05:55.560] in strict mode code, functions may be declared only at top level or immediately within another function @ http://book.virginblue.com.au/js/VirginBlue/jquery-api.js:13
Bug 630851 has more information on strict mode breaking websites.
Gotta love cargo-cultage!
Assignee: general → english-other
Component: JavaScript Engine → English Other
Product: Core → Tech Evangelism
QA Contact: general → english-other
Version: Trunk → unspecified
I ran this by their twitter account, got back: --- [...] thanks for this, as V4 is beta we haven't coded for it until final release http://twitter.com/#!/VirginBlue/status/44980223195873280 ---
And gotta love that attitude.... ;)
It appears the site has changed since this report... so either INVALID or FIXED. Either way it works. :)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.