Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Fix (js core | w3c): Use jquery-enhanced everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Mar 7, 2016
1 parent c91c6c4 commit add308d
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion js/core/contrib.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Spec editors get filtered out automatically.

define(
["github", "jquery"],
["github", "jquery-enhanced"],
function (github) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/data-include.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// entail performance issues.

define(
["core/utils", "jquery"],
["core/utils", "jquery-enhanced"],
function (utils, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/data-transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// in the test suite, and therefore could easily break.

define(
["core/utils", "jquery"],
["core/utils", "jquery-enhanced"],
function (utils) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/default-root-attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// publishing.

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
run: function (config, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// be used by a containing shell to extract all examples.

define(
["text!core/css/examples.css", "text!core/css/examples-webspecs.css", "jquery"],
["text!core/css/examples.css", "text!core/css/examples-webspecs.css", "jquery-enhanced"],
function (css, cssKraken, $) {
var makeTitle = function (conf, $el, num, report) {
var txt = (num > 0) ? " " + num : ""
Expand Down
2 changes: 1 addition & 1 deletion js/core/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// the end of processing)

define(
["text!core/css/highlight.css", "google-code-prettify", "jquery"],
["text!core/css/highlight.css", "google-code-prettify", "jquery-enhanced"],
function (css, PR, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/include-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Inject's the document's configuration into the head as JSON.

define(
["jquery"],
["jquery-enhanced"],
function ($) {
'use strict';
return {
Expand Down
2 changes: 1 addition & 1 deletion js/core/issues-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// manually numbered, a link to the issue is created using issueBase and the issue number
"use strict";
define(
["text!core/css/issues-notes.css", "github", "jquery"],
["text!core/css/issues-notes.css", "github", "jquery-enhanced"],
function(css, github, $) {
return {
run: function(conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/jquery-enhanced.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["jquery", "core/utils"], function($, utils) {
define(["jquery-enhanced", "core/utils"], function($, utils) {
// --- JQUERY EXTRAS -----------------------------------------------------------------------
// Applies to any jQuery object containing elements, changes their name to the one give, and
// return a jQuery object containing the new elements
Expand Down
2 changes: 1 addition & 1 deletion js/core/location-hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Resets window.location.hash to jump to the right point in the document

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
//

define(
['core/marked', "jquery"],
['core/marked', "jquery-enhanced"],
function (coreMarked, $) {
marked.setOptions({
gfm: false,
Expand Down
2 changes: 1 addition & 1 deletion js/core/requirements.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// and a class of "reqRef".

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/shiv.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Injects the HTML5 shiv conditional comment

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// the style, set this to true

define(
["text!core/css/respec2.css", "jquery"],
["text!core/css/respec2.css", "jquery-enhanced"],
function (css, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// - once we have something decent, merge, ship as 3.2.0

define(
["jquery", "shortcut"],
["jquery-enhanced", "shortcut"],
function ($, shortcut) {
var $menu = $("<div></div>")
.css({
Expand Down
2 changes: 1 addition & 1 deletion js/core/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// anywhere else.
"use strict";
define(
["jquery"],
["jquery-enhanced"],
function ($) {
var utils = {
// --- SET UP
Expand Down
2 changes: 1 addition & 1 deletion js/core/webidl-contiguous.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ define(
, "tmpl!core/templates/webidl-contiguous/exception.html"
, "tmpl!core/templates/webidl-contiguous/extended-attribute.html"
, "tmpl!core/templates/webidl-contiguous/interface.html"
, "jquery"
, "jquery-enhanced"
],
function (hb, webidl2, css, idlTypedefTmpl, idlImplementsTmpl, idlDictMemberTmpl, idlDictionaryTmpl,
idlEnumItemTmpl, idlEnumTmpl, idlConstTmpl, idlParamTmpl, idlCallbackTmpl, idlMethodTmpl,
Expand Down
2 changes: 1 addition & 1 deletion js/ui/about-respec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// A simple about dialogue with pointer to the help

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
show: function (ui) {
Expand Down
2 changes: 1 addition & 1 deletion js/ui/dfn-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Module ui/dfn-list
// Displays all definitions with links to the defining element.
define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
show: function (ui, _conf) {
Expand Down
2 changes: 1 addition & 1 deletion js/ui/search-specref.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Search Specref database

define(
["jquery", "core/biblio"],
["jquery-enhanced", "core/biblio"],
function ($, biblio) {
function pluralize (count, sing, plur) {
return count + ' ' + (count == 1 ? sing : plur);
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/abstract.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Handle the abstract section properly.

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/conformance.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Handle the conformance section properly.

define(
["tmpl!w3c/templates/conformance.html", "jquery"],
["tmpl!w3c/templates/conformance.html", "jquery-enhanced"],
function (confoTmpl, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ define(
, "tmpl!w3c/templates/cgbg-headers.html"
, "tmpl!w3c/templates/cgbg-sotd.html"
, "tmpl!w3c/templates/webspecs-headers.html"
, "jquery"
, "jquery-enhanced"
],
function (hb, utils, headersTmpl, sotdTmpl, cgbgHeadersTmpl, cgbgSotdTmpl, wsHeadersTmpl, $) {
hb.registerHelper("showPeople", function (name, items) {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/informative.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Mark specific sections as informative, based on CSS

define(
["jquery"],
["jquery-enhanced"],
function ($) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/l10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// that other parts of the system can localise their text

define(
["jquery"],
["jquery-enhanced"],
function ($) {
var l10n = {
en: {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/permalinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// hovered over. Defaults to false.

define(
["tmpl!w3c/templates/permalinks.css", "core/utils", "jquery"], // load this to be sure that the jQuery extensions are loaded
["tmpl!w3c/templates/permalinks.css", "core/utils", "jquery-enhanced"], // load this to be sure that the jQuery extensions are loaded
function (css, utils, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/rfc2119.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// update the 2119 terms section with the terms actually used

define(
["core/utils", "jquery"],
["core/utils", "jquery-enhanced"],
function (utils, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down
2 changes: 1 addition & 1 deletion js/w3c/unhtml5.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// still use it if you need to for some reason.

define(
["core/utils", "jquery"], // load this to be sure that the jQuery extensions are loaded
["core/utils", "jquery-enhanced"], // load this to be sure that the jQuery extensions are loaded
function (utils, $) {
return {
run: function (conf, doc, cb, msg) {
Expand Down

0 comments on commit add308d

Please sign in to comment.