Skip to content

Instantly share code, notes, and snippets.

@tcoats
tcoats / app.coffee
Created December 18, 2013 19:48
Requirejs in nodejs
requirejs = require 'requirejs'
# requirejs
requirejs.config {
# Pass the top-level main.js/index.js require
# function to requirejs so that node modules
# are loaded relative to the top-level JS file.
nodeRequire: require
paths: {
}
@tcoats
tcoats / Test.aspx
Last active December 16, 2015 06:28
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="TestPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">