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
<?php | |
date_default_timezone_set('UTC'); | |
$foo = '{"bar":{"$date":1358205756553},"pop":{"goes":{"err":{"$binary":"c3VyZS4="},"the":{"weasel":{"$date":1358205756553,"$tz":"America/New_York"}}}}}'; | |
class EJSON { | |
protected static $customTypes = []; | |
public static function type($marker, $decoder) { | |
if (!is_callable($decoder)) { |
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
/*! | |
Underscore.js templates as a standalone implementation. | |
JavaScript micro-templating, similar to John Resig's implementation. | |
Underscore templates documentation: http://documentcloud.github.com/underscore/#template | |
Modifyed by marlun78 | |
*/ | |
(function () { | |
'use strict'; |