This file contains hidden or 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
// in this first option events handlers are just RxJs functor Subject | |
// those subject are passed down to the render function and are manually injected into | |
// the properties of react component | |
var RxReact = require('rx-react'); | |
var React = require('react'); | |
This file contains hidden or 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
/*jshint node:true*/ | |
var http = require('http'); | |
var fs = require('fs'); | |
var url = require('url'); | |
var querystring = require('querystring'); | |
var head = fs.readFileSync('head.html','UTF-8'); | |
//<head> | |
// <meta charset="utf-8"> |
This file contains hidden or 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
/*jshint node:true*/ | |
var fs = require('fs'), | |
path = require('path'); | |
var walk = function(dir, done) { | |
var results = []; | |
fs.readdir(dir, function(err, list) { | |
if (err) return done(err); | |
var pending = list.length; | |
if (!pending) return done(null, results); |
This file contains hidden or 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
/* | |
The MIT License (MIT) | |
Copyright (c) 2014 François de Campredon | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or 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
declare module "libxmljs" { | |
export function parseXmlString(source:string):XMLDocument; | |
export function parseHtmlString(source:string):HTMLDocument; | |
export class XMLDocument { | |
constructor(version:number, encoding:string); | |
child(idx:number):Element; | |
childNodes():Element[]; |
This file contains hidden or 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
interface JQuery { | |
dynatree(options?:DynatreeOptions):DynaTree; | |
dynatree(option?:string,...rest:any[]):any; | |
} | |
interface JQueryStatic { | |
ui:{ | |
dynatree:DynatreeNamespace; | |
}; | |
} | |
interface DynaTree { |
This file contains hidden or 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
interface CodeMirrorScrollInfo { | |
x:number; | |
y:number; | |
width:number; | |
height:number; | |
} | |
NewerOlder