Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#31743 closed feature request (maybelater)

Add HeadJS Load to Core

Reported by: wpsmith's profile wpsmith Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: javascript Cc:

Description

HeadJS (load, not the feature detection or browser sniffing portion) would be a great utility to add to WordPress core.

Specifically:
head.load.js: http://cdnjs.cloudflare.com/ajax/libs/headjs/1.0.3/head.load.js
head.load.min.js: http://cdnjs.cloudflare.com/ajax/libs/headjs/1.0.3/head.load.min.js
head.load.min.js.map: http://cdnjs.cloudflare.com/ajax/libs/headjs/1.0.3/head.load.min.js.map

This library gives developers the ability to call scripts into the head (via wp_localize_script() or AJAX).

Here's a brief example: https://gist.github.com/wpsmith/971c2fab9442aab0a2ae

Change History (1)

#1 @ocean90
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Looks like there isn't much interest in this so far, closing as maybelater.

Note: See TracTickets for help on using tickets.