Using lines in Canvas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Extends the Object prototype to provide basic support for interface-like structures and declarations. | |
* @param {Object[]} - comma-delimited list of objects with properties to implement. | |
* @example | |
* // returns Class object with IClass' someFunction property. Instances of Class will have this property defined. | |
* var IClass = {someFunction:function(){}}; | |
* var Class = function(){}.implements(IClass); | |
* @returns {Object} | |
*/ | |
Object.prototype.implements = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, user = require('./routes/user') | |
, http = require('http') | |
, path = require('path'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<!-- First we consider whether the incoming URL matches a physical file in the /public folder --> | |
<rule name="StaticContent"> | |
<!--<action type="Rewrite" url="public{REQUEST_URI}"/>--> <!--Comment this to let Node handle your static files --> | |
<action type="Rewrite" url="server.js"/> | |
</rule> |
NewerOlder