Skip to content

Instantly share code, notes, and snippets.

View MatthewBarker's full-sized avatar

Matt Barker MatthewBarker

  • Cheadle, Cheshire, England
View GitHub Profile
@MatthewBarker
MatthewBarker / wikipedia-jsonp.js
Created February 18, 2015 14:14
Make JSONP requests to the Wikipedia API
/*jslint browser: true*/
/*global define, exports, require, module, jsonp*/
/**
A module for Jsonp requests to the Wikipedia API.
@module wikipedia-jsonp
@author Matt Barker
@requires jsonp
*/
(function (factory) {
@MatthewBarker
MatthewBarker / jsonp.js
Created February 18, 2015 14:07
JSONP request function
/*jslint browser: true*/
/*global define, exports, module*/
/**
A module that makes jsonp requests.
@module jsonp
@author Matt Barker
*/
(function (factory) {
'use strict';