HomePhabricator

mw.loader: Update addScript() to match latest jQuery
0966c801a4d4Unpublished

Authored by Krinkle.

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

mw.loader: Update addScript() to match latest jQuery

  • Optimise for modern browsers by using the quick document.head when available.
  • Fallback to documentElement (<html>) instead of <body>.
  • Prepend instead of append, per upstream jQuery.

Change-Id: I00ddceea531114704a3aa64961dec90181315c19

Details

Committed
KrinkleMar 27 2014, 3:47 AM
Parents
rMW29fb6a9329b3: Update OOjs UI to v0.1.0-pre (e697490c9b)
Branches
Unknown
Tags
Unknown
References
refs/changes/98/121298/1
ChangeId
I00ddceea531114704a3aa64961dec90181315c19