Skip to content

Instantly share code, notes, and snippets.

{
"issue" : [
{
"@priority" : "1",
"@type" : "Task",
"@state" : "Fixed",
"@subsystem" : "No subsystem",
"@id" : "DCVR-1",
"@fixedVersion" : "",
"@projectShortName" : "DCVR",
@mckamey
mckamey / EcmaScript.NET-debugger.patch
Created August 23, 2010 15:55
Port of Rhino fix for bug 386997
Index: Projects/EcmaScript.NET/Debugging/DebugFrame.cs
===================================================================
--- Projects/EcmaScript.NET/Debugging/DebugFrame.cs (revision 56306)
+++ Projects/EcmaScript.NET/Debugging/DebugFrame.cs (working copy)
@@ -58,5 +58,11 @@
/// exception object if about to throw exception
/// </param>
void OnExit (Context cx, bool byThrow, object resultOrException);
+
+ /// <summary>
@mckamey
mckamey / Foo.MyZebraList.jbst
Created August 14, 2010 16:02
Pygments lexer support for JBST syntax
<%@ Control Name="Foo.MyZebraList" Language="JavaScript" %>
<script type="text/javascript">
/* private members ------------------------------------------ */
/*int*/ function digits(/*int*/ n) {
return (n < 10) ? '0' + n : n;
}
@mckamey
mckamey / StringUtils.js
Created July 30, 2010 16:00
.NET-style String.Format implementation for JavaScript
/*global JSON */
if ("undefined" === typeof String.format) {
// String.format: populates a format string with an ordered list of values
/*string*/ String.format = function(/*params*/) {
var args = arguments,
num = args.length,
str = args[0];