Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Standalone Pikaday.js
(function (root, factory)
{
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if ( typeof exports === 'object' ) {
// Node/CommonJS
module.exports = factory();
} else {
// Browser globals
root.Pikaday = factory();
}
}(this, function ()
{
...
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.