First install [https://github.com/coreyti/showdown](showdown js) component:
yeoman install showdown
This adds the showdown component to your App.
Create a new 'markdown' AngularJS Directive:
yeoman init angular:directive markdown
var http = require('http'); | |
var util = require('util'); | |
var heapdump = require('heapdump'); | |
var memwatch = require('memwatch'); | |
var server = http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
for (var i=0; i<1000; i++) { | |
server.on('request', function leakyfunc() { |
First install [https://github.com/coreyti/showdown](showdown js) component:
yeoman install showdown
This adds the showdown component to your App.
Create a new 'markdown' AngularJS Directive:
yeoman init angular:directive markdown
require.paths.unshift('./node_modules') | |
var http = require('http'); | |
var fs = require('fs'); | |
var redis = require("redis"); | |
var util = require('util'); | |
var server = http.createServer(function (request, response) { | |
// Redis local settings, overridden below if we're running in CloudFoundry | |
var redisPort = 6379; |
application OddsConverter | |
import mobl::ui::generic | |
entity Odds { | |
traditional: String (searchable) | |
decimal: String | |
function toString():String{ | |
return this.traditional + " -> " + this.decimal + " -> " + |