Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Notice: compact(): Undefined variable: limits in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-includes/class-wp-comment-query.php on line 853

Notice: compact(): Undefined variable: groupby in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-includes/class-wp-comment-query.php on line 853
Generic Singleton Factory in JavaScript | Justin Johnson
Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-includes/post-template.php on line 284

Generic Singleton Factory in JavaScript


Notice: Undefined offset: 0 in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 532

Fatal error: Uncaught Error: Call to a member function id() on array in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'var getInstance...') #3 /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('var getInstance...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayo in /nfs/c01/h07/mnt/7404/domains/justinjohnson.org/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36