Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#31743 closed feature request (maybelater)

Add HeadJS Load to Core

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

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
10 years ago

  • Milestone Awaiting Review
  • Resolutionmaybelater
  • Status newclosed

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

Note: See TracTickets for help on using tickets.