azure
Version:
Microsoft Azure Client Library for node
195 lines (122 loc) • 5.2 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>Date-Utils Index</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type="text/css" rel="stylesheet" href="styles/site.journal.css">
</head>
<body>
<div class="container-fluid">
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<a class="brand" href="index.html">Date-Utils</a>
<ul class="nav">
<li class="dropdown">
<a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b
class="caret"></b></a>
<ul class="dropdown-menu ">
<li>
<a href="Date.html">Date</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span8">
<div id="main">
<span class="page-title">Index</span>
<section class="readme-section">
<article><h1>Date-Utils: Polyfills for the Date object</h1><p><a href="http://travis-ci.org/JerrySievert/date-utils"><img src="https://secure.travis-ci.org/JerrySievert/date-utils.png" alt="Build Status"></a></p>
<h2>NOTE</h2><p>Version 2 Feature and Changes discussion is being held at https://github.com/JerrySievert/node-date-utils/issues/37</p>
<h2>In a nutshell</h2><ul>
<li>Micro-Framework adding missing functionality to the Date object</li>
<li>Useable as a polyfill in the browser</li>
<li>Useable as a polyfill in Node.js</li>
<li>Works in CouchDB</li>
</ul>
<h2>Using within a Browser</h2><pre class="prettyprint source"><code><script type="text/javascript" src="date-utils.min.js"></script></code></pre><h2>Using with Node.js</h2><pre class="prettyprint source"><code>$ npm install date-utils
require('date-utils');</code></pre><p>Note: This did not work in the <code>REPL</code> before <code>Node.js 0.6</code> due to how <code>Node.js</code> handles context in the <code>REPL</code>.</p>
<h2>Changing Languages</h2><pre class="prettyprint source"><code>require('date-utils').language("es")</code></pre><p>Supported languages:</p>
<ul>
<li>Spanish - "es"</li>
<li>French - "fr"</li>
<li>Portuguese Brazilian - "pt-BR"</li>
</ul>
<h2>Documentation</h2><p>Documentation (nearing completion) can be found at https://jerrysievert.github.io/date-utils</p>
<h2>Development</h2><p>Make sure you have <a href="https://www.npmjs.org/package/gulp">gulp</a> installed (npm install gulp -g). After that hit <code>npm install</code> to get the dependencies. Finally, hit <code>gulp</code>. This will build the library initially. If you make changes to the library, it will compile the minified version automatically.</p>
<h3>Testing</h3><pre class="prettyprint source"><code>$ npm test</code></pre><h3>Complexity and Minification</h3><pre class="prettyprint source"><code>$ gulp</code></pre></article>
</section>
</div>
<div class="clearfix"></div>
<footer>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a>
on 2016-04-18T20:32:20-07:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
</div>
<div class="span3">
<div id="toc"></div>
</div>
<br clear="both">
</div>
</div>
<!--<script src="scripts/sunlight.js"></script>-->
<script src="scripts/docstrap.lib.js"></script>
<script src="scripts/bootstrap-dropdown.js"></script>
<script src="scripts/toc.js"></script>
<script>
$( function () {
$( "[id*='$']" ).each( function () {
var $this = $( this );
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
} );
$( "#toc" ).toc( {
anchorName : function ( i, heading, prefix ) {
return $( heading ).attr( "id" ) || ( prefix + i );
},
selectors : "h1,h2,h3,h4",
showAndHide : false,
scrollTo : "100px"
} );
$( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" );
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
$( '.dropdown-toggle' ).dropdown();
// $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" );
$( ".tutorial-section pre, .readme-section pre" ).each( function () {
var $this = $( this );
var example = $this.find( "code" );
exampleText = example.html();
var lang = /{@lang (.*?)}/.exec( exampleText );
if ( lang && lang[1] ) {
exampleText = exampleText.replace( lang[0], "" );
example.html( exampleText );
lang = lang[1];
} else {
lang = "javascript";
}
if ( lang ) {
$this
.addClass( "sunlight-highlight-" + lang )
.addClass( "linenums" )
.html( example.html() );
}
} );
Sunlight.highlightAll( {
lineNumbers : true,
showMenu : true,
enableDoclinks : true
} );
} );
</script>
<!--Navigation and Symbol Display-->
<!--Google Analytics-->
</body>
</html>