window.EXPECTED = [ { "name": "sample - bat", "language": "bat", "result": { "vs": [ [ { "text": "rem *******Begin Comment**************", "color": "#008000" } ], [ { "text": "rem This program starts the superapp batch program on the network,", "color": "#008000" } ], [ { "text": "rem directs the output to a file, and displays the file", "color": "#008000" } ], [ { "text": "rem in Notepad.", "color": "#008000" } ], [ { "text": "rem *******End Comment**************", "color": "#008000" } ], [ { "text": "@", "color": "#0000ff" }, { "text": "echo", "color": "#0000ff" }, { "text": " off", "color": "#000000" } ], [ { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "exist", "color": "#0000ff" }, { "text": " C", "color": "#000000" }, { "text": ":", "color": "#e00000" }, { "text": "\\output", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "txt ", "color": "#000000" }, { "text": "goto", "color": "#0000ff" }, { "text": " EMPTYEXISTS", "color": "#000000" } ], [ { "text": "setlocal", "color": "#0000ff" } ], [ { "text": "    path", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": "g", "color": "#000000" }, { "text": ":", "color": "#e00000" }, { "text": "\\programs\\superapp", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": "%path%", "color": "#001188" } ], [ { "text": "    ", "color": "#000000" }, { "text": "call", "color": "#0000ff" }, { "text": " superapp", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": "C", "color": "#000000" }, { "text": ":", "color": "#e00000" }, { "text": "\\output", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "txt", "color": "#000000" } ], [ { "text": "endlocal", "color": "#0000ff" } ], [ { "text": ":EMPTYEXISTS", "color": "#e00000" } ], [ { "text": "start", "color": "#0000ff" }, { "text": " notepad c", "color": "#000000" }, { "text": ":", "color": "#e00000" }, { "text": "\\output", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "txt", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "rem *******Begin Comment**************", "color": "#608b4e" } ], [ { "text": "rem This program starts the superapp batch program on the network,", "color": "#608b4e" } ], [ { "text": "rem directs the output to a file, and displays the file", "color": "#608b4e" } ], [ { "text": "rem in Notepad.", "color": "#608b4e" } ], [ { "text": "rem *******End Comment**************", "color": "#608b4e" } ], [ { "text": "@", "color": "#569cd6" }, { "text": "echo", "color": "#569cd6" }, { "text": " off", "color": "#d4d4d4" } ], [ { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "exist", "color": "#569cd6" }, { "text": " C", "color": "#d4d4d4" }, { "text": ":", "color": "#dd6a6f" }, { "text": "\\output", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "txt ", "color": "#d4d4d4" }, { "text": "goto", "color": "#569cd6" }, { "text": " EMPTYEXISTS", "color": "#d4d4d4" } ], [ { "text": "setlocal", "color": "#569cd6" } ], [ { "text": "    path", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": "g", "color": "#d4d4d4" }, { "text": ":", "color": "#dd6a6f" }, { "text": "\\programs\\superapp", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": "%path%", "color": "#74b0df" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "call", "color": "#569cd6" }, { "text": " superapp", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": "C", "color": "#d4d4d4" }, { "text": ":", "color": "#dd6a6f" }, { "text": "\\output", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "txt", "color": "#d4d4d4" } ], [ { "text": "endlocal", "color": "#569cd6" } ], [ { "text": ":EMPTYEXISTS", "color": "#dd6a6f" } ], [ { "text": "start", "color": "#569cd6" }, { "text": " notepad c", "color": "#d4d4d4" }, { "text": ":", "color": "#dd6a6f" }, { "text": "\\output", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "txt", "color": "#d4d4d4" } ] ], "hc_black": [ [ { "text": "rem *******Begin Comment**************", "color": "#608b4e" } ], [ { "text": "rem This program starts the superapp batch program on the network,", "color": "#608b4e" } ], [ { "text": "rem directs the output to a file, and displays the file", "color": "#608b4e" } ], [ { "text": "rem in Notepad.", "color": "#608b4e" } ], [ { "text": "rem *******End Comment**************", "color": "#608b4e" } ], [ { "text": "@", "color": "#569cd6" }, { "text": "echo", "color": "#569cd6" }, { "text": " off", "color": "#ffffff" } ], [ { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "exist", "color": "#569cd6" }, { "text": " C", "color": "#ffffff" }, { "text": ":", "color": "#569cd6" }, { "text": "\\output", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "txt ", "color": "#ffffff" }, { "text": "goto", "color": "#569cd6" }, { "text": " EMPTYEXISTS", "color": "#ffffff" } ], [ { "text": "setlocal", "color": "#569cd6" } ], [ { "text": "    path", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": "g", "color": "#ffffff" }, { "text": ":", "color": "#569cd6" }, { "text": "\\programs\\superapp", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "%path%", "color": "#1aebff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "call", "color": "#569cd6" }, { "text": " superapp", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": "C", "color": "#ffffff" }, { "text": ":", "color": "#569cd6" }, { "text": "\\output", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "txt", "color": "#ffffff" } ], [ { "text": "endlocal", "color": "#569cd6" } ], [ { "text": ":EMPTYEXISTS", "color": "#569cd6" } ], [ { "text": "start", "color": "#569cd6" }, { "text": " notepad c", "color": "#ffffff" }, { "text": ":", "color": "#569cd6" }, { "text": "\\output", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "txt", "color": "#ffffff" } ] ] } }, { "name": "sample - c", "language": "c", "result": { "vs": [ [ { "text": "#include", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"pch.h\"", "color": "#a31515" } ], [ { "text": "#include", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"Direct3DBase.h\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Microsoft", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "WRL", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Windows", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "UI", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Core", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Windows", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Foundation", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Constructor.", "color": "#008000" } ], [ { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Initialize the Direct3D resources required to run.", "color": "#008000" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Initialize", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "CoreWindow", "color": "#000000" }, { "text": "^", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "window", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "window", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CreateDeviceResources", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CreateWindowSizeDependentResources", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// These are the resources that depend on the device.", "color": "#008000" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "CreateDeviceResources", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// This flag adds support for surfaces with a different color channel ordering than the API default.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// It is recommended usage, and is required for compatibility with Direct2D.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "UINT", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "creationFlags", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "D3D11_CREATE_DEVICE_BGRA_SUPPORT", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "defined", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "_DEBUG", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// If the project is in a debug build, enable debugging via SDK Layers with this flag.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "creationFlags", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "|=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "D3D11_CREATE_DEVICE_DEBUG", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "#endif", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// This array defines the set of DirectX hardware feature levels this app will support.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Note the ordering should be preserved.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Don't forget to declare your application's minimum required feature level in its", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// description.  All applications are assumed to support 9.1 unless otherwise stated.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "featureLevels", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_11_1", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_11_0", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_10_1", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_10_0", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_9_3", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_9_2", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_9_1", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create the DX11 API device object, and get a corresponding context.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11Device", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "device", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11DeviceContext", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D11CreateDevice", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// specify null to use the default adapter", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "D3D_DRIVER_TYPE_HARDWARE", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// leave as nullptr unless software device", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "creationFlags", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "              ", "color": "#000000" }, { "text": "// optionally set debug and Direct2D compatibility flags", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "featureLevels", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "              ", "color": "#000000" }, { "text": "// list of feature levels this app can support", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "ARRAYSIZE", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "featureLevels", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "   ", "color": "#000000" }, { "text": "// number of entries in above list", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "D3D11_SDK_VERSION", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "          ", "color": "#000000" }, { "text": "// always set this to D3D11_SDK_VERSION", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "device", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// returns the Direct3D device created", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_featureLevel", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "            ", "color": "#000000" }, { "text": "// returns feature level of device created", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// returns the device immediate context", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Get the DirectX11.1 device by QI off the DirectX11 one.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "device", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "As", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// And get the corresponding device context in the same way.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "As", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_d3dContext", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Allocate all memory resources that change on a window SizeChanged event.", "color": "#008000" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "CreateWindowSizeDependentResources", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Store the window bounds so the next time we get a SizeChanged event we can", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// avoid rebuilding everything if the size is identical.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_windowBounds", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Bounds", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// If the swap chain already exists, resize it.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "ResizeBuffers", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Otherwise, create a new one.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Create a descriptor for the swap chain.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DXGI_SWAP_CHAIN_DESC1", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": "                                     ", "color": "#000000" }, { "text": "// use automatic sizing", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Format", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": "           ", "color": "#000000" }, { "text": "// this is the most common swapchain format", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Stereo", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SampleDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Count", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": "                          ", "color": "#000000" }, { "text": "// don't use multi-sampling", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SampleDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Quality", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "BufferUsage", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_USAGE_RENDER_TARGET_OUTPUT", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "BufferCount", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": "                               ", "color": "#000000" }, { "text": "// use two buffers to enable flip effect", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Scaling", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_SCALING_NONE", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SwapEffect", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "// we recommend using this swap effect for all applications", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Flags", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// First, retrieve the underlying DXGI Device from the D3D Device", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "IDXGIDevice1", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "As", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Identify the physical adapter (GPU or card) this device is running on.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "IDXGIAdapter", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "dxgiAdapter", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetAdapter", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "dxgiAdapter", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// And obtain the factory object that created it.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "IDXGIFactory2", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "dxgiFactory", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiAdapter", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetParent", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "__uuidof", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "IDXGIFactory2", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "dxgiFactory", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Windows", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "UI", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Core", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "CoreWindow", "color": "#000000" }, { "text": "^", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "p", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Create a swap chain for this window from the DXGI factory.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiFactory", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateSwapChainForCoreWindow", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "reinterpret_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "IUnknown", "color": "#000000" }, { "text": "*>", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "p", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": "    ", "color": "#000000" }, { "text": "// allow on all displays", "color": "#008000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Ensure that DXGI does not queue more than one frame at a time. This both reduces ", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// latency and ensures that the application will only render after each VSync, minimizing ", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// power consumption.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "SetMaximumFrameLatency", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Obtain the backbuffer for this window which will be the final 3D rendertarget.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11Texture2D", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetBuffer", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "__uuidof", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "ID3D11Texture2D", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a view interface on the rendertarget to use on bind.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateRenderTargetView", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_renderTargetView", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Cache the rendertarget dimensions in our helper class for convenient use.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "D3D11_TEXTURE2D_DESC", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetDesc", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_renderTargetSize", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_renderTargetSize", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a descriptor for the depth/stencil buffer.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CD3D11_TEXTURE2D_DESC", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "depthStencilDesc", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DXGI_FORMAT_D24_UNORM_S8_UINT", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D11_BIND_DEPTH_STENCIL", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Allocate a 2-D surface as the depth/stencil buffer.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11Texture2D", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "depthStencil", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateTexture2D", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "depthStencilDesc", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "depthStencil", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a DepthStencil view on this surface to use on bind.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateDepthStencilView", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "depthStencil", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "CD3D11_DEPTH_STENCIL_VIEW_DESC", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "D3D11_DSV_DIMENSION_TEXTURE2D", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_depthStencilView", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a viewport descriptor of the full window size.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CD3D11_VIEWPORT", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "viewPort", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "0.0f", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "0.0f", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Set the current viewport using the descriptor.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_d3dContext", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "RSSetViewports", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "viewPort", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "UpdateForWindowSizeChange", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Bounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "!=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_windowBounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Bounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_windowBounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_renderTargetView", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_depthStencilView", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "CreateWindowSizeDependentResources", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Present", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// The first argument instructs DXGI to block until VSync, putting the application", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// to sleep until the next VSync. This ensures we don't waste any cycles rendering", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// frames that will never be displayed to the screen.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "HRESULT", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Present", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// If the device was removed either by a disconnect or a driver upgrade, we ", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// must completely reinitialize the renderer.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_ERROR_DEVICE_REMOVED", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_ERROR_DEVICE_RESET", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Initialize", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "())", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"pch.h\"", "color": "#ce9178" } ], [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Direct3DBase.h\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Microsoft", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "WRL", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Windows", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "UI", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Core", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Windows", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Foundation", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Constructor.", "color": "#608b4e" } ], [ { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Initialize the Direct3D resources required to run.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Initialize", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "CoreWindow", "color": "#d4d4d4" }, { "text": "^", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "window", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "window", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CreateDeviceResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CreateWindowSizeDependentResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// These are the resources that depend on the device.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "CreateDeviceResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// This flag adds support for surfaces with a different color channel ordering than the API default.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// It is recommended usage, and is required for compatibility with Direct2D.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "UINT", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "creationFlags", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "D3D11_CREATE_DEVICE_BGRA_SUPPORT", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defined", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "_DEBUG", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// If the project is in a debug build, enable debugging via SDK Layers with this flag.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "creationFlags", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "|=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "D3D11_CREATE_DEVICE_DEBUG", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "#endif", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// This array defines the set of DirectX hardware feature levels this app will support.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Note the ordering should be preserved.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Don't forget to declare your application's minimum required feature level in its", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// description.  All applications are assumed to support 9.1 unless otherwise stated.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "featureLevels", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_11_1", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_11_0", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_10_1", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_10_0", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_9_3", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_9_2", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_9_1", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create the DX11 API device object, and get a corresponding context.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11Device", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "device", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11DeviceContext", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "context", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D11CreateDevice", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// specify null to use the default adapter", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "D3D_DRIVER_TYPE_HARDWARE", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// leave as nullptr unless software device", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "creationFlags", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "              ", "color": "#d4d4d4" }, { "text": "// optionally set debug and Direct2D compatibility flags", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "featureLevels", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "              ", "color": "#d4d4d4" }, { "text": "// list of feature levels this app can support", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "ARRAYSIZE", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "featureLevels", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": "   ", "color": "#d4d4d4" }, { "text": "// number of entries in above list", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "D3D11_SDK_VERSION", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "          ", "color": "#d4d4d4" }, { "text": "// always set this to D3D11_SDK_VERSION", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "device", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// returns the Direct3D device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_featureLevel", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "            ", "color": "#d4d4d4" }, { "text": "// returns feature level of device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// returns the device immediate context", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Get the DirectX11.1 device by QI off the DirectX11 one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "device", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "As", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// And get the corresponding device context in the same way.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "context", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "As", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_d3dContext", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Allocate all memory resources that change on a window SizeChanged event.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "CreateWindowSizeDependentResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Store the window bounds so the next time we get a SizeChanged event we can", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// avoid rebuilding everything if the size is identical.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_windowBounds", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Bounds", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// If the swap chain already exists, resize it.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "ResizeBuffers", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "2", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Otherwise, create a new one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Create a descriptor for the swap chain.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DXGI_SWAP_CHAIN_DESC1", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": "                                     ", "color": "#d4d4d4" }, { "text": "// use automatic sizing", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Format", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": "           ", "color": "#d4d4d4" }, { "text": "// this is the most common swapchain format", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Stereo", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SampleDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Count", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": "                          ", "color": "#d4d4d4" }, { "text": "// don't use multi-sampling", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SampleDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Quality", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "BufferUsage", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_USAGE_RENDER_TARGET_OUTPUT", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "BufferCount", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": "                               ", "color": "#d4d4d4" }, { "text": "// use two buffers to enable flip effect", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Scaling", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_SCALING_NONE", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SwapEffect", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "// we recommend using this swap effect for all applications", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Flags", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// First, retrieve the underlying DXGI Device from the D3D Device", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IDXGIDevice1", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "As", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Identify the physical adapter (GPU or card) this device is running on.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IDXGIAdapter", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "dxgiAdapter", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetAdapter", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "dxgiAdapter", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// And obtain the factory object that created it.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IDXGIFactory2", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "dxgiFactory", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiAdapter", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetParent", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "IDXGIFactory2", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "dxgiFactory", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Windows", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "UI", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Core", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "CoreWindow", "color": "#d4d4d4" }, { "text": "^", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "p", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Create a swap chain for this window from the DXGI factory.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiFactory", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateSwapChainForCoreWindow", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "reinterpret_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IUnknown", "color": "#d4d4d4" }, { "text": "*>", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "p", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": "    ", "color": "#d4d4d4" }, { "text": "// allow on all displays", "color": "#608b4e" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_swapChain", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Ensure that DXGI does not queue more than one frame at a time. This both reduces ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// latency and ensures that the application will only render after each VSync, minimizing ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// power consumption.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "SetMaximumFrameLatency", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Obtain the backbuffer for this window which will be the final 3D rendertarget.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11Texture2D", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "backBuffer", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetBuffer", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "ID3D11Texture2D", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "backBuffer", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a view interface on the rendertarget to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateRenderTargetView", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "backBuffer", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_renderTargetView", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Cache the rendertarget dimensions in our helper class for convenient use.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "D3D11_TEXTURE2D_DESC", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "backBuffer", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetDesc", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_renderTargetSize", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_renderTargetSize", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a descriptor for the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CD3D11_TEXTURE2D_DESC", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "depthStencilDesc", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DXGI_FORMAT_D24_UNORM_S8_UINT", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D11_BIND_DEPTH_STENCIL", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Allocate a 2-D surface as the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11Texture2D", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "depthStencil", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateTexture2D", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "depthStencilDesc", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "depthStencil", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a DepthStencil view on this surface to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateDepthStencilView", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "depthStencil", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "CD3D11_DEPTH_STENCIL_VIEW_DESC", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "D3D11_DSV_DIMENSION_TEXTURE2D", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_depthStencilView", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a viewport descriptor of the full window size.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CD3D11_VIEWPORT", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "viewPort", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "0.0f", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "0.0f", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Set the current viewport using the descriptor.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_d3dContext", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "RSSetViewports", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "viewPort", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "UpdateForWindowSizeChange", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Bounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "!=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_windowBounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Bounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_windowBounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_renderTargetView", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_depthStencilView", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "CreateWindowSizeDependentResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Present", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// The first argument instructs DXGI to block until VSync, putting the application", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// to sleep until the next VSync. This ensures we don't waste any cycles rendering", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// frames that will never be displayed to the screen.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "HRESULT", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hr", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Present", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// If the device was removed either by a disconnect or a driver upgrade, we ", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// must completely reinitialize the renderer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "hr", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_ERROR_DEVICE_REMOVED", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hr", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_ERROR_DEVICE_RESET", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Initialize", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "())", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "hr", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"pch.h\"", "color": "#ce9178" } ], [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Direct3DBase.h\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Microsoft", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "WRL", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Windows", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "UI", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Core", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Windows", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Foundation", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Constructor.", "color": "#608b4e" } ], [ { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Initialize the Direct3D resources required to run.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Initialize", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "CoreWindow", "color": "#ffffff" }, { "text": "^", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "window", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "window", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CreateDeviceResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CreateWindowSizeDependentResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// These are the resources that depend on the device.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "CreateDeviceResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// This flag adds support for surfaces with a different color channel ordering than the API default.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// It is recommended usage, and is required for compatibility with Direct2D.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "UINT", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "creationFlags", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "D3D11_CREATE_DEVICE_BGRA_SUPPORT", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "defined", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "_DEBUG", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// If the project is in a debug build, enable debugging via SDK Layers with this flag.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "creationFlags", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "|=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "D3D11_CREATE_DEVICE_DEBUG", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "#endif", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// This array defines the set of DirectX hardware feature levels this app will support.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Note the ordering should be preserved.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Don't forget to declare your application's minimum required feature level in its", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// description.  All applications are assumed to support 9.1 unless otherwise stated.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "featureLevels", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_11_1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_11_0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_10_1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_10_0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_9_3", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_9_2", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_9_1", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create the DX11 API device object, and get a corresponding context.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11Device", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "device", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11DeviceContext", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "context", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D11CreateDevice", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// specify null to use the default adapter", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "D3D_DRIVER_TYPE_HARDWARE", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// leave as nullptr unless software device", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "creationFlags", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "              ", "color": "#ffffff" }, { "text": "// optionally set debug and Direct2D compatibility flags", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "featureLevels", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "              ", "color": "#ffffff" }, { "text": "// list of feature levels this app can support", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "ARRAYSIZE", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "featureLevels", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": "   ", "color": "#ffffff" }, { "text": "// number of entries in above list", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "D3D11_SDK_VERSION", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "          ", "color": "#ffffff" }, { "text": "// always set this to D3D11_SDK_VERSION", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "device", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// returns the Direct3D device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_featureLevel", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "            ", "color": "#ffffff" }, { "text": "// returns feature level of device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// returns the device immediate context", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Get the DirectX11.1 device by QI off the DirectX11 one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "device", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "As", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// And get the corresponding device context in the same way.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "context", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "As", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "m_d3dContext", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Allocate all memory resources that change on a window SizeChanged event.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "CreateWindowSizeDependentResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Store the window bounds so the next time we get a SizeChanged event we can", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// avoid rebuilding everything if the size is identical.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_windowBounds", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Bounds", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// If the swap chain already exists, resize it.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "ResizeBuffers", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "2", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Otherwise, create a new one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Create a descriptor for the swap chain.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DXGI_SWAP_CHAIN_DESC1", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": "0", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "                                     ", "color": "#ffffff" }, { "text": "// use automatic sizing", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Format", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "           ", "color": "#ffffff" }, { "text": "// this is the most common swapchain format", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Stereo", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SampleDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Count", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "                          ", "color": "#ffffff" }, { "text": "// don't use multi-sampling", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SampleDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Quality", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "BufferUsage", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_USAGE_RENDER_TARGET_OUTPUT", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "BufferCount", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "                               ", "color": "#ffffff" }, { "text": "// use two buffers to enable flip effect", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Scaling", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_SCALING_NONE", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SwapEffect", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "// we recommend using this swap effect for all applications", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Flags", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// First, retrieve the underlying DXGI Device from the D3D Device", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "IDXGIDevice1", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": "  ", "color": "#ffffff" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "As", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Identify the physical adapter (GPU or card) this device is running on.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "IDXGIAdapter", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "dxgiAdapter", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetAdapter", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "dxgiAdapter", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// And obtain the factory object that created it.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "IDXGIFactory2", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "dxgiFactory", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiAdapter", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetParent", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "IDXGIFactory2", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "dxgiFactory", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Windows", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "UI", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Core", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "CoreWindow", "color": "#ffffff" }, { "text": "^", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "p", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Create a swap chain for this window from the DXGI factory.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiFactory", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateSwapChainForCoreWindow", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "reinterpret_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "IUnknown", "color": "#ffffff" }, { "text": "*>", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "p", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": "    ", "color": "#ffffff" }, { "text": "// allow on all displays", "color": "#608b4e" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_swapChain", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Ensure that DXGI does not queue more than one frame at a time. This both reduces ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// latency and ensures that the application will only render after each VSync, minimizing ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// power consumption.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "SetMaximumFrameLatency", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Obtain the backbuffer for this window which will be the final 3D rendertarget.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11Texture2D", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "backBuffer", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetBuffer", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "ID3D11Texture2D", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "backBuffer", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a view interface on the rendertarget to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateRenderTargetView", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "backBuffer", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_renderTargetView", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Cache the rendertarget dimensions in our helper class for convenient use.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "D3D11_TEXTURE2D_DESC", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "backBuffer", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetDesc", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_renderTargetSize", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": "  ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_renderTargetSize", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a descriptor for the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CD3D11_TEXTURE2D_DESC", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "depthStencilDesc", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DXGI_FORMAT_D24_UNORM_S8_UINT", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D11_BIND_DEPTH_STENCIL", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Allocate a 2-D surface as the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11Texture2D", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "depthStencil", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateTexture2D", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "depthStencilDesc", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "depthStencil", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a DepthStencil view on this surface to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateDepthStencilView", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "depthStencil", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "CD3D11_DEPTH_STENCIL_VIEW_DESC", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "D3D11_DSV_DIMENSION_TEXTURE2D", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_depthStencilView", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a viewport descriptor of the full window size.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CD3D11_VIEWPORT", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "viewPort", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "0.0f", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "0.0f", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Set the current viewport using the descriptor.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_d3dContext", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "RSSetViewports", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "viewPort", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "UpdateForWindowSizeChange", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "m_window", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Bounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": "  ", "color": "#ffffff" }, { "text": "!=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_windowBounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Bounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_windowBounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_renderTargetView", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_depthStencilView", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "CreateWindowSizeDependentResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Present", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// The first argument instructs DXGI to block until VSync, putting the application", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// to sleep until the next VSync. This ensures we don't waste any cycles rendering", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// frames that will never be displayed to the screen.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "HRESULT", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "hr", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Present", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// If the device was removed either by a disconnect or a driver upgrade, we ", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// must completely reinitialize the renderer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "hr", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_ERROR_DEVICE_REMOVED", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "hr", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_ERROR_DEVICE_RESET", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Initialize", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "m_window", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "())", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "hr", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - coffeescript", "language": "coffeescript", "result": { "vs": [ [ { "text": "\"\"\"", "color": "#a31515" } ], [ { "text": "A CoffeeScript sample.", "color": "#a31515" } ], [ { "text": "\"\"\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "class", "color": "#0000ff" }, { "text": " Vehicle", "color": "#000000" } ], [ { "text": "  constructor", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "@name", "color": "#4864aa" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=>", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" } ], [ { "text": "  drive", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=>", "color": "#000000" } ], [ { "text": "    alert ", "color": "#000000" }, { "text": "\"Conducting #{", "color": "#a31515" }, { "text": "@name", "color": "#4864aa" }, { "text": "}\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "class", "color": "#0000ff" }, { "text": " Car ", "color": "#000000" }, { "text": "extends", "color": "#0000ff" }, { "text": " Vehicle", "color": "#000000" } ], [ { "text": "  drive", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=>", "color": "#000000" } ], [ { "text": "    alert ", "color": "#000000" }, { "text": "\"Driving #{", "color": "#a31515" }, { "text": "@name", "color": "#4864aa" }, { "text": "}\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "c ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " Car ", "color": "#000000" }, { "text": "\"Brandie\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "while", "color": "#0000ff" }, { "text": " notAtDestination", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "  c", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "drive", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "raceVehicles ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " Car ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " i ", "color": "#000000" }, { "text": "in", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "..", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "]", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "startRace ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vehicles", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "vehicle", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "drive", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " vehicle ", "color": "#000000" }, { "text": "in", "color": "#0000ff" }, { "text": " vehicles", "color": "#000000" }, { "text": "]", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "fancyRegExp ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "///", "color": "#800000" } ], [ { "text": "    (\\d+)   ", "color": "#800000" }, { "text": "# numbers", "color": "#008000" } ], [ { "text": "    (\\w*)   ", "color": "#800000" }, { "text": "# letters", "color": "#008000" } ], [ { "text": "    $       ", "color": "#800000" }, { "text": "# the end", "color": "#008000" } ], [ { "text": "///", "color": "#800000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "\"\"\"", "color": "#ce9178" } ], [ { "text": "A CoffeeScript sample.", "color": "#ce9178" } ], [ { "text": "\"\"\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " Vehicle", "color": "#d4d4d4" } ], [ { "text": "  constructor", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@name", "color": "#4864aa" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=>", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "  drive", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=>", "color": "#dcdcdc" } ], [ { "text": "    alert ", "color": "#d4d4d4" }, { "text": "\"Conducting #{", "color": "#ce9178" }, { "text": "@name", "color": "#4864aa" }, { "text": "}\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " Car ", "color": "#d4d4d4" }, { "text": "extends", "color": "#569cd6" }, { "text": " Vehicle", "color": "#d4d4d4" } ], [ { "text": "  drive", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=>", "color": "#dcdcdc" } ], [ { "text": "    alert ", "color": "#d4d4d4" }, { "text": "\"Driving #{", "color": "#ce9178" }, { "text": "@name", "color": "#4864aa" }, { "text": "}\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "c ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "new", "color": "#569cd6" }, { "text": " Car ", "color": "#d4d4d4" }, { "text": "\"Brandie\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "while", "color": "#569cd6" }, { "text": " notAtDestination", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "  c", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "drive", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "raceVehicles ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "new", "color": "#569cd6" }, { "text": " Car ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " i ", "color": "#d4d4d4" }, { "text": "in", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": "..", "color": "#dcdcdc" }, { "text": "100", "color": "#b5cea8" }, { "text": "]", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "startRace ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vehicles", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "->", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "vehicle", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "drive", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " vehicle ", "color": "#d4d4d4" }, { "text": "in", "color": "#569cd6" }, { "text": " vehicles", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "fancyRegExp ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "///", "color": "#b46695" } ], [ { "text": "    (\\d+)   ", "color": "#b46695" }, { "text": "# numbers", "color": "#608b4e" } ], [ { "text": "    (\\w*)   ", "color": "#b46695" }, { "text": "# letters", "color": "#608b4e" } ], [ { "text": "    $       ", "color": "#b46695" }, { "text": "# the end", "color": "#608b4e" } ], [ { "text": "///", "color": "#b46695" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "\"\"\"", "color": "#ce9178" } ], [ { "text": "A CoffeeScript sample.", "color": "#ce9178" } ], [ { "text": "\"\"\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " Vehicle", "color": "#ffffff" } ], [ { "text": "  constructor", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "@name", "color": "#1aebff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=>", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" } ], [ { "text": "  drive", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=>", "color": "#ffff00" } ], [ { "text": "    alert ", "color": "#ffffff" }, { "text": "\"Conducting #{", "color": "#ce9178" }, { "text": "@name", "color": "#1aebff" }, { "text": "}\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " Car ", "color": "#ffffff" }, { "text": "extends", "color": "#569cd6" }, { "text": " Vehicle", "color": "#ffffff" } ], [ { "text": "  drive", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=>", "color": "#ffff00" } ], [ { "text": "    alert ", "color": "#ffffff" }, { "text": "\"Driving #{", "color": "#ce9178" }, { "text": "@name", "color": "#1aebff" }, { "text": "}\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "c ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "new", "color": "#569cd6" }, { "text": " Car ", "color": "#ffffff" }, { "text": "\"Brandie\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "while", "color": "#569cd6" }, { "text": " notAtDestination", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "  c", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "drive", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "raceVehicles ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "new", "color": "#569cd6" }, { "text": " Car ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " i ", "color": "#ffffff" }, { "text": "in", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": "..", "color": "#ffff00" }, { "text": "100", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "startRace ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vehicles", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "->", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "vehicle", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "drive", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " vehicle ", "color": "#ffffff" }, { "text": "in", "color": "#569cd6" }, { "text": " vehicles", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "fancyRegExp ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "///", "color": "#c0c0c0" } ], [ { "text": "    (\\d+)   ", "color": "#c0c0c0" }, { "text": "# numbers", "color": "#608b4e" } ], [ { "text": "    (\\w*)   ", "color": "#c0c0c0" }, { "text": "# letters", "color": "#608b4e" } ], [ { "text": "    $       ", "color": "#c0c0c0" }, { "text": "# the end", "color": "#608b4e" } ], [ { "text": "///", "color": "#c0c0c0" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - cpp", "language": "cpp", "result": { "vs": [ [ { "text": "#include", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"pch.h\"", "color": "#a31515" } ], [ { "text": "#include", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"Direct3DBase.h\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Microsoft", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "WRL", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Windows", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "UI", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Core", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Windows", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Foundation", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Constructor.", "color": "#008000" } ], [ { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Initialize the Direct3D resources required to run.", "color": "#008000" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Initialize", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "CoreWindow", "color": "#000000" }, { "text": "^", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "window", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "window", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CreateDeviceResources", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CreateWindowSizeDependentResources", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// These are the resources that depend on the device.", "color": "#008000" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "CreateDeviceResources", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// This flag adds support for surfaces with a different color channel ordering than the API default.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// It is recommended usage, and is required for compatibility with Direct2D.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "UINT", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "creationFlags", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "D3D11_CREATE_DEVICE_BGRA_SUPPORT", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "defined", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "_DEBUG", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// If the project is in a debug build, enable debugging via SDK Layers with this flag.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "creationFlags", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "|=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "D3D11_CREATE_DEVICE_DEBUG", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "#endif", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// This array defines the set of DirectX hardware feature levels this app will support.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Note the ordering should be preserved.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Don't forget to declare your application's minimum required feature level in its", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// description.  All applications are assumed to support 9.1 unless otherwise stated.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "featureLevels", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_11_1", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_11_0", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_10_1", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_10_0", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_9_3", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_9_2", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D_FEATURE_LEVEL_9_1", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create the DX11 API device object, and get a corresponding context.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11Device", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "device", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11DeviceContext", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D11CreateDevice", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// specify null to use the default adapter", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "D3D_DRIVER_TYPE_HARDWARE", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// leave as nullptr unless software device", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "creationFlags", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "              ", "color": "#000000" }, { "text": "// optionally set debug and Direct2D compatibility flags", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "featureLevels", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "              ", "color": "#000000" }, { "text": "// list of feature levels this app can support", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "ARRAYSIZE", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "featureLevels", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "   ", "color": "#000000" }, { "text": "// number of entries in above list", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "D3D11_SDK_VERSION", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "          ", "color": "#000000" }, { "text": "// always set this to D3D11_SDK_VERSION", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "device", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// returns the Direct3D device created", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_featureLevel", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": "            ", "color": "#000000" }, { "text": "// returns feature level of device created", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": "                    ", "color": "#000000" }, { "text": "// returns the device immediate context", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Get the DirectX11.1 device by QI off the DirectX11 one.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "device", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "As", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// And get the corresponding device context in the same way.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "As", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_d3dContext", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Allocate all memory resources that change on a window SizeChanged event.", "color": "#008000" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "CreateWindowSizeDependentResources", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Store the window bounds so the next time we get a SizeChanged event we can", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// avoid rebuilding everything if the size is identical.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_windowBounds", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Bounds", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// If the swap chain already exists, resize it.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "ResizeBuffers", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Otherwise, create a new one.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Create a descriptor for the swap chain.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DXGI_SWAP_CHAIN_DESC1", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": "                                     ", "color": "#000000" }, { "text": "// use automatic sizing", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Format", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": "           ", "color": "#000000" }, { "text": "// this is the most common swapchain format", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Stereo", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SampleDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Count", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": "                          ", "color": "#000000" }, { "text": "// don't use multi-sampling", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SampleDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Quality", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "BufferUsage", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_USAGE_RENDER_TARGET_OUTPUT", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "BufferCount", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": "                               ", "color": "#000000" }, { "text": "// use two buffers to enable flip effect", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Scaling", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_SCALING_NONE", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SwapEffect", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "// we recommend using this swap effect for all applications", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Flags", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// First, retrieve the underlying DXGI Device from the D3D Device", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "IDXGIDevice1", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "As", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Identify the physical adapter (GPU or card) this device is running on.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "IDXGIAdapter", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "dxgiAdapter", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetAdapter", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "dxgiAdapter", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// And obtain the factory object that created it.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "IDXGIFactory2", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "dxgiFactory", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiAdapter", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetParent", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "__uuidof", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "IDXGIFactory2", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "dxgiFactory", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Windows", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "UI", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Core", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "CoreWindow", "color": "#000000" }, { "text": "^", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "p", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Create a swap chain for this window from the DXGI factory.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiFactory", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateSwapChainForCoreWindow", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "reinterpret_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "IUnknown", "color": "#000000" }, { "text": "*>", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "p", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "swapChainDesc", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": "    ", "color": "#000000" }, { "text": "// allow on all displays", "color": "#008000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Ensure that DXGI does not queue more than one frame at a time. This both reduces ", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// latency and ensures that the application will only render after each VSync, minimizing ", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// power consumption.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "dxgiDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "SetMaximumFrameLatency", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Obtain the backbuffer for this window which will be the final 3D rendertarget.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11Texture2D", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetBuffer", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "__uuidof", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "ID3D11Texture2D", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a view interface on the rendertarget to use on bind.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateRenderTargetView", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_renderTargetView", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Cache the rendertarget dimensions in our helper class for convenient use.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "D3D11_TEXTURE2D_DESC", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "backBuffer", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "GetDesc", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_renderTargetSize", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_renderTargetSize", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a descriptor for the depth/stencil buffer.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CD3D11_TEXTURE2D_DESC", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "depthStencilDesc", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DXGI_FORMAT_D24_UNORM_S8_UINT", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "D3D11_BIND_DEPTH_STENCIL", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Allocate a 2-D surface as the depth/stencil buffer.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ComPtr", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "ID3D11Texture2D", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "depthStencil", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateTexture2D", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "depthStencilDesc", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "depthStencil", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a DepthStencil view on this surface to use on bind.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_d3dDevice", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "CreateDepthStencilView", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "depthStencil", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "CD3D11_DEPTH_STENCIL_VIEW_DESC", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "D3D11_DSV_DIMENSION_TEXTURE2D", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "m_depthStencilView", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Create a viewport descriptor of the full window size.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "CD3D11_VIEWPORT", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "viewPort", "color": "#000000" }, { "text": "(", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "0.0f", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "0.0f", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "static_cast", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": ">", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "backBufferDesc", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Set the current viewport using the descriptor.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "m_d3dContext", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "RSSetViewports", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "&", "color": "#000000" }, { "text": "viewPort", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "UpdateForWindowSizeChange", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Bounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "!=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_windowBounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Width", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Bounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_windowBounds", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Height", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_renderTargetView", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "m_depthStencilView", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nullptr", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "CreateWindowSizeDependentResources", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Direct3DBase", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "Present", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// The first argument instructs DXGI to block until VSync, putting the application", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// to sleep until the next VSync. This ensures we don't waste any cycles rendering", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// frames that will never be displayed to the screen.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "HRESULT", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "m_swapChain", "color": "#000000" }, { "text": "->", "color": "#000000" }, { "text": "Present", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// If the device was removed either by a disconnect or a driver upgrade, we ", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// must completely reinitialize the renderer.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_ERROR_DEVICE_REMOVED", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "DXGI_ERROR_DEVICE_RESET", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Initialize", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "m_window", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Get", "color": "#000000" }, { "text": "())", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DX", "color": "#000000" }, { "text": "::", "color": "#000000" }, { "text": "ThrowIfFailed", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "hr", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"pch.h\"", "color": "#ce9178" } ], [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Direct3DBase.h\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Microsoft", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "WRL", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Windows", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "UI", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Core", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Windows", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Foundation", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Constructor.", "color": "#608b4e" } ], [ { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Initialize the Direct3D resources required to run.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Initialize", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "CoreWindow", "color": "#d4d4d4" }, { "text": "^", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "window", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "window", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CreateDeviceResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CreateWindowSizeDependentResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// These are the resources that depend on the device.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "CreateDeviceResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// This flag adds support for surfaces with a different color channel ordering than the API default.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// It is recommended usage, and is required for compatibility with Direct2D.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "UINT", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "creationFlags", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "D3D11_CREATE_DEVICE_BGRA_SUPPORT", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defined", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "_DEBUG", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// If the project is in a debug build, enable debugging via SDK Layers with this flag.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "creationFlags", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "|=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "D3D11_CREATE_DEVICE_DEBUG", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "#endif", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// This array defines the set of DirectX hardware feature levels this app will support.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Note the ordering should be preserved.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Don't forget to declare your application's minimum required feature level in its", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// description.  All applications are assumed to support 9.1 unless otherwise stated.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "featureLevels", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_11_1", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_11_0", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_10_1", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_10_0", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_9_3", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_9_2", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D_FEATURE_LEVEL_9_1", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create the DX11 API device object, and get a corresponding context.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11Device", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "device", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11DeviceContext", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "context", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D11CreateDevice", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// specify null to use the default adapter", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "D3D_DRIVER_TYPE_HARDWARE", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// leave as nullptr unless software device", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "creationFlags", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "              ", "color": "#d4d4d4" }, { "text": "// optionally set debug and Direct2D compatibility flags", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "featureLevels", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "              ", "color": "#d4d4d4" }, { "text": "// list of feature levels this app can support", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "ARRAYSIZE", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "featureLevels", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": "   ", "color": "#d4d4d4" }, { "text": "// number of entries in above list", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "D3D11_SDK_VERSION", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "          ", "color": "#d4d4d4" }, { "text": "// always set this to D3D11_SDK_VERSION", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "device", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// returns the Direct3D device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_featureLevel", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": "            ", "color": "#d4d4d4" }, { "text": "// returns feature level of device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": "                    ", "color": "#d4d4d4" }, { "text": "// returns the device immediate context", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Get the DirectX11.1 device by QI off the DirectX11 one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "device", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "As", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// And get the corresponding device context in the same way.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "context", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "As", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_d3dContext", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Allocate all memory resources that change on a window SizeChanged event.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "CreateWindowSizeDependentResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Store the window bounds so the next time we get a SizeChanged event we can", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// avoid rebuilding everything if the size is identical.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_windowBounds", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Bounds", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// If the swap chain already exists, resize it.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "ResizeBuffers", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "2", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Otherwise, create a new one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Create a descriptor for the swap chain.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DXGI_SWAP_CHAIN_DESC1", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": "                                     ", "color": "#d4d4d4" }, { "text": "// use automatic sizing", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Format", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": "           ", "color": "#d4d4d4" }, { "text": "// this is the most common swapchain format", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Stereo", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SampleDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Count", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": "                          ", "color": "#d4d4d4" }, { "text": "// don't use multi-sampling", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SampleDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Quality", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "BufferUsage", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_USAGE_RENDER_TARGET_OUTPUT", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "BufferCount", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": "                               ", "color": "#d4d4d4" }, { "text": "// use two buffers to enable flip effect", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Scaling", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_SCALING_NONE", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SwapEffect", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "// we recommend using this swap effect for all applications", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Flags", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// First, retrieve the underlying DXGI Device from the D3D Device", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IDXGIDevice1", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "As", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Identify the physical adapter (GPU or card) this device is running on.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IDXGIAdapter", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "dxgiAdapter", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetAdapter", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "dxgiAdapter", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// And obtain the factory object that created it.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IDXGIFactory2", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "dxgiFactory", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiAdapter", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetParent", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "IDXGIFactory2", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "dxgiFactory", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Windows", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "UI", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Core", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "CoreWindow", "color": "#d4d4d4" }, { "text": "^", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "p", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Create a swap chain for this window from the DXGI factory.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiFactory", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateSwapChainForCoreWindow", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "reinterpret_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "IUnknown", "color": "#d4d4d4" }, { "text": "*>", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "p", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "swapChainDesc", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": "    ", "color": "#d4d4d4" }, { "text": "// allow on all displays", "color": "#608b4e" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_swapChain", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Ensure that DXGI does not queue more than one frame at a time. This both reduces ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// latency and ensures that the application will only render after each VSync, minimizing ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// power consumption.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "dxgiDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "SetMaximumFrameLatency", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Obtain the backbuffer for this window which will be the final 3D rendertarget.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11Texture2D", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "backBuffer", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetBuffer", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "ID3D11Texture2D", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "backBuffer", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a view interface on the rendertarget to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateRenderTargetView", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "backBuffer", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_renderTargetView", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Cache the rendertarget dimensions in our helper class for convenient use.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "D3D11_TEXTURE2D_DESC", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "backBuffer", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "GetDesc", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "&", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_renderTargetSize", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_renderTargetSize", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a descriptor for the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CD3D11_TEXTURE2D_DESC", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "depthStencilDesc", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DXGI_FORMAT_D24_UNORM_S8_UINT", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "D3D11_BIND_DEPTH_STENCIL", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Allocate a 2-D surface as the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ComPtr", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "ID3D11Texture2D", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "depthStencil", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateTexture2D", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "depthStencilDesc", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "depthStencil", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a DepthStencil view on this surface to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_d3dDevice", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "CreateDepthStencilView", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "depthStencil", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "CD3D11_DEPTH_STENCIL_VIEW_DESC", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "D3D11_DSV_DIMENSION_TEXTURE2D", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "m_depthStencilView", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Create a viewport descriptor of the full window size.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "CD3D11_VIEWPORT", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "viewPort", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "0.0f", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "0.0f", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "backBufferDesc", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Set the current viewport using the descriptor.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "m_d3dContext", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "RSSetViewports", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "&", "color": "#dcdcdc" }, { "text": "viewPort", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "UpdateForWindowSizeChange", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Bounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "!=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_windowBounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Width", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Bounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_windowBounds", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Height", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_renderTargetView", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "m_depthStencilView", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "CreateWindowSizeDependentResources", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Direct3DBase", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "Present", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// The first argument instructs DXGI to block until VSync, putting the application", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// to sleep until the next VSync. This ensures we don't waste any cycles rendering", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// frames that will never be displayed to the screen.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "HRESULT", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hr", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "m_swapChain", "color": "#d4d4d4" }, { "text": "->", "color": "#d4d4d4" }, { "text": "Present", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// If the device was removed either by a disconnect or a driver upgrade, we ", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// must completely reinitialize the renderer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "hr", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_ERROR_DEVICE_REMOVED", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hr", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DXGI_ERROR_DEVICE_RESET", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Initialize", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "m_window", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Get", "color": "#d4d4d4" }, { "text": "())", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DX", "color": "#d4d4d4" }, { "text": "::", "color": "#d4d4d4" }, { "text": "ThrowIfFailed", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "hr", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"pch.h\"", "color": "#ce9178" } ], [ { "text": "#include", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Direct3DBase.h\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Microsoft", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "WRL", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Windows", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "UI", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Core", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Windows", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Foundation", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Constructor.", "color": "#608b4e" } ], [ { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Initialize the Direct3D resources required to run.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Initialize", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "CoreWindow", "color": "#ffffff" }, { "text": "^", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "window", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "window", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CreateDeviceResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CreateWindowSizeDependentResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// These are the resources that depend on the device.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "CreateDeviceResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// This flag adds support for surfaces with a different color channel ordering than the API default.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// It is recommended usage, and is required for compatibility with Direct2D.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "UINT", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "creationFlags", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "D3D11_CREATE_DEVICE_BGRA_SUPPORT", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "defined", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "_DEBUG", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// If the project is in a debug build, enable debugging via SDK Layers with this flag.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "creationFlags", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "|=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "D3D11_CREATE_DEVICE_DEBUG", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "#endif", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// This array defines the set of DirectX hardware feature levels this app will support.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Note the ordering should be preserved.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Don't forget to declare your application's minimum required feature level in its", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// description.  All applications are assumed to support 9.1 unless otherwise stated.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "featureLevels", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_11_1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_11_0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_10_1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_10_0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_9_3", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_9_2", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D_FEATURE_LEVEL_9_1", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create the DX11 API device object, and get a corresponding context.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11Device", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "device", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11DeviceContext", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "context", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D11CreateDevice", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// specify null to use the default adapter", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "D3D_DRIVER_TYPE_HARDWARE", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// leave as nullptr unless software device", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "creationFlags", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "              ", "color": "#ffffff" }, { "text": "// optionally set debug and Direct2D compatibility flags", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "featureLevels", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "              ", "color": "#ffffff" }, { "text": "// list of feature levels this app can support", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "ARRAYSIZE", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "featureLevels", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": "   ", "color": "#ffffff" }, { "text": "// number of entries in above list", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "D3D11_SDK_VERSION", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "          ", "color": "#ffffff" }, { "text": "// always set this to D3D11_SDK_VERSION", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "device", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// returns the Direct3D device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_featureLevel", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": "            ", "color": "#ffffff" }, { "text": "// returns feature level of device created", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": "                    ", "color": "#ffffff" }, { "text": "// returns the device immediate context", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Get the DirectX11.1 device by QI off the DirectX11 one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "device", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "As", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// And get the corresponding device context in the same way.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "context", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "As", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "m_d3dContext", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Allocate all memory resources that change on a window SizeChanged event.", "color": "#608b4e" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "CreateWindowSizeDependentResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Store the window bounds so the next time we get a SizeChanged event we can", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// avoid rebuilding everything if the size is identical.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_windowBounds", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Bounds", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// If the swap chain already exists, resize it.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "ResizeBuffers", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "2", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Otherwise, create a new one.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Create a descriptor for the swap chain.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DXGI_SWAP_CHAIN_DESC1", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": "0", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "                                     ", "color": "#ffffff" }, { "text": "// use automatic sizing", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Format", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_FORMAT_B8G8R8A8_UNORM", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "           ", "color": "#ffffff" }, { "text": "// this is the most common swapchain format", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Stereo", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SampleDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Count", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "                          ", "color": "#ffffff" }, { "text": "// don't use multi-sampling", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SampleDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Quality", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "BufferUsage", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_USAGE_RENDER_TARGET_OUTPUT", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "BufferCount", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "                               ", "color": "#ffffff" }, { "text": "// use two buffers to enable flip effect", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Scaling", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_SCALING_NONE", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SwapEffect", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "// we recommend using this swap effect for all applications", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Flags", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// First, retrieve the underlying DXGI Device from the D3D Device", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "IDXGIDevice1", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": "  ", "color": "#ffffff" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "As", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Identify the physical adapter (GPU or card) this device is running on.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "IDXGIAdapter", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "dxgiAdapter", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetAdapter", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "dxgiAdapter", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// And obtain the factory object that created it.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "IDXGIFactory2", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "dxgiFactory", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiAdapter", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetParent", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "IDXGIFactory2", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "dxgiFactory", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Windows", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "UI", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Core", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "CoreWindow", "color": "#ffffff" }, { "text": "^", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "p", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Create a swap chain for this window from the DXGI factory.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiFactory", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateSwapChainForCoreWindow", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "reinterpret_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "IUnknown", "color": "#ffffff" }, { "text": "*>", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "p", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "swapChainDesc", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": "    ", "color": "#ffffff" }, { "text": "// allow on all displays", "color": "#608b4e" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_swapChain", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Ensure that DXGI does not queue more than one frame at a time. This both reduces ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// latency and ensures that the application will only render after each VSync, minimizing ", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// power consumption.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "dxgiDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "SetMaximumFrameLatency", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Obtain the backbuffer for this window which will be the final 3D rendertarget.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11Texture2D", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "backBuffer", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetBuffer", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "__uuidof", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "ID3D11Texture2D", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "backBuffer", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a view interface on the rendertarget to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateRenderTargetView", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "backBuffer", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_renderTargetView", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Cache the rendertarget dimensions in our helper class for convenient use.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "D3D11_TEXTURE2D_DESC", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "backBuffer", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "GetDesc", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "&", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_renderTargetSize", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": "  ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_renderTargetSize", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a descriptor for the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CD3D11_TEXTURE2D_DESC", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "depthStencilDesc", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DXGI_FORMAT_D24_UNORM_S8_UINT", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "D3D11_BIND_DEPTH_STENCIL", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Allocate a 2-D surface as the depth/stencil buffer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ComPtr", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ID3D11Texture2D", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "depthStencil", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateTexture2D", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "depthStencilDesc", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "depthStencil", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a DepthStencil view on this surface to use on bind.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_d3dDevice", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "CreateDepthStencilView", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "depthStencil", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "CD3D11_DEPTH_STENCIL_VIEW_DESC", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "D3D11_DSV_DIMENSION_TEXTURE2D", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "m_depthStencilView", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Create a viewport descriptor of the full window size.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "CD3D11_VIEWPORT", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "viewPort", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "0.0f", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "0.0f", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "static_cast", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "float", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "backBufferDesc", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Set the current viewport using the descriptor.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "m_d3dContext", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "RSSetViewports", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "&", "color": "#ffff00" }, { "text": "viewPort", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "UpdateForWindowSizeChange", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "m_window", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Bounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": "  ", "color": "#ffffff" }, { "text": "!=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_windowBounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Width", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_window", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Bounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_windowBounds", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Height", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_renderTargetView", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "m_depthStencilView", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nullptr", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "CreateWindowSizeDependentResources", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Direct3DBase", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "Present", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// The first argument instructs DXGI to block until VSync, putting the application", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// to sleep until the next VSync. This ensures we don't waste any cycles rendering", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// frames that will never be displayed to the screen.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "HRESULT", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "hr", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "m_swapChain", "color": "#ffffff" }, { "text": "->", "color": "#ffffff" }, { "text": "Present", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// If the device was removed either by a disconnect or a driver upgrade, we ", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// must completely reinitialize the renderer.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "hr", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_ERROR_DEVICE_REMOVED", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "hr", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "DXGI_ERROR_DEVICE_RESET", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Initialize", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "m_window", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Get", "color": "#ffffff" }, { "text": "())", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DX", "color": "#ffffff" }, { "text": "::", "color": "#ffffff" }, { "text": "ThrowIfFailed", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "hr", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - csharp", "language": "csharp", "result": { "vs": [ [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Collections", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Generic", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Diagnostics", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Linq", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Text", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "using", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Threading", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Tasks", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "namespace", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "VS", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Program", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "static", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Main", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": "[]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "args", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "ProcessStartInfo", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "si", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ProcessStartInfo", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "load", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "3.2e02f", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "si", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "FileName", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@\"", "color": "#a31515" }, { "text": "tools\\\\node.exe", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "si", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Arguments", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "tools", "color": "#a31515" }, { "text": "\\\\", "color": "#a31515" }, { "text": "simpleserver.js", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "Process", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Start", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "si", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Collections", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Generic", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Diagnostics", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Linq", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Text", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Threading", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Tasks", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "VS", "color": "#d4d4d4" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Program", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "static", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Main", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": "[]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "args", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "ProcessStartInfo", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "si", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ProcessStartInfo", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "float", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "load", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3.2e02f", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "si", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "FileName", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@\"", "color": "#ce9178" }, { "text": "tools\\\\node.exe", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "si", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Arguments", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "tools", "color": "#ce9178" }, { "text": "\\\\", "color": "#ce9178" }, { "text": "simpleserver.js", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "Process", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Start", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "si", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Collections", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Generic", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Diagnostics", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Linq", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Text", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "using", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Threading", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Tasks", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "namespace", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "VS", "color": "#ffffff" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Program", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "static", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Main", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": "[]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "args", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "ProcessStartInfo", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "si", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ProcessStartInfo", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "float", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "load", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "3.2e02f", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "si", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "FileName", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@\"", "color": "#ce9178" }, { "text": "tools\\\\node.exe", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "si", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Arguments", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "tools", "color": "#ce9178" }, { "text": "\\\\", "color": "#ce9178" }, { "text": "simpleserver.js", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "Process", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Start", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "si", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - css", "language": "css", "result": { "vs": [ [ { "text": "html", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e2e2e2", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "body", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#fff", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "#000", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#333", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": ".85", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-family:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "\"Segoe UI\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": "\"HelveticaNeue-Light\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "sans-serif", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "a:link", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "a:visited", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "a:active", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "a:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#333", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "outline:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "a:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#c7d1d6", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "header", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "footer", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "hgroup", "color": "#800000" } ], [ { "text": "nav", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "section", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".float-left", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".float-right", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "right", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".highlight", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "/*    background-color: #a6dbed;", "color": "#008000" } ], [ { "text": "    padding-left: 5px;", "color": "#008000" } ], [ { "text": "    padding-right: 5px;*/", "color": "#008000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".clear-fix:after", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "content:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "\".\"", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "clear:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "both", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "visibility:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "hidden", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h1", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "h2", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "h3", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "h4", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "h5", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "h6", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#000", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h1", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h2", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.75", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h3", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h4", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.1", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h5", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "h6", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".tile", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* 2px solid #7ac0da; */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "200", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "325", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "-webkit-perspective:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "-webkit-transform-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "preserve-3d", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "-webkit-transition:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "-webkit-transform", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "0.2", "color": "#09885a" }, { "text": "s", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "-webkit-box-shadow:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "rgba(", "color": "#0451a5" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": "0.3", "color": "#09885a" }, { "text": ")", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-position:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "center", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "center", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-repeat:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": "  ", "color": "#000000" }, { "text": "#fff", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".tile-item", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* 2px solid #7ac0da; */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inherit", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "50", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "70", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-image:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "'../Images/documents.png'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-repeat:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".tile-wrapper", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-family:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "\"Segoe UI\"", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Tahoma", "color": "#0451a5" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Geneva", "color": "#0451a5" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Verdana", "color": "#0451a5" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "sans-serif", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "line-height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "21", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "14", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "a.blue-box", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "28", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#8ABAE4", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.blue-box:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#8ABAE4", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#FFFFFF", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "a.green-box", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "28", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#9CCF42", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.green-box:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#9CCF42", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#FFFFFF", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "a.green-box2", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "14", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "48", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "48", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "/* border-color: #C0C0C0; */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "6", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "bold", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.green-box2:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#8ABAE4", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-image:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "'../Images/documents.png'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#EFEFEF", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "a.yellow-box", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "28", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#DECF6B", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.yellow-box:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#DECF6B", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#FFFFFF", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "a.red-box", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "28", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#F79E84", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#C0C0C0", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.red-box:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#F79E84", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#FFFFFF", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "/* main layout ", "color": "#008000" } ], [ { "text": "----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": ".content-wrapper", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "max-width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "960", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#body", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#efeeef", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "clear:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "both", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "35", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".main-content", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/accent.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "30", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".main-content", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/heroaccent.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "footer", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "clear:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "both", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e2e2e2", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": ".8", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* site title", "color": "#008000" } ], [ { "text": "----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": ".site-title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#0066CC", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "/* font-family: Rockwell, Consolas, \"Courier New\", Courier, monospace; */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "3.3", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "40", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".site-title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".site-title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a:hover", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".site-title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a:active", "color": "#800000" }, { "text": "  ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#0066CC", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "outline:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* login  ", "color": "#008000" } ], [ { "text": "----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": ".85", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "text-align:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "right", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#d3dce0", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a.username", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "underline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "/* menu  ", "color": "#008000" } ], [ { "text": "----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": "ul#menu", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.3", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "600", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "text-align:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "right", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ul#menu", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ul#menu", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#999", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ul#menu", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#333", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* page elements  ", "color": "#008000" } ], [ { "text": "----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": "/* featured */", "color": "#008000" } ], [ { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#fff", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".content-wrapper", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "/*background-color: #7ac0da;", "color": "#008000" } ], [ { "text": "        background-image: -ms-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#008000" } ], [ { "text": "        background-image: -o-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#008000" } ], [ { "text": "        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7AC0DA), color-stop(1, #A4D4E6));", "color": "#008000" } ], [ { "text": "        background-image: -webkit-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#008000" } ], [ { "text": "        background-image: linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#008000" } ], [ { "text": "        color: #3e5667;", "color": "#008000" } ], [ { "text": "        */", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": "  ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "40", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "30", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "40", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "hgroup.title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "h1", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "hgroup.title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "h2", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/* color: #fff;", "color": "#008000" } ], [ { "text": "                */", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "p", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.1", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* page titles */", "color": "#008000" }, { "text": " ", "color": "#000000" } ], [ { "text": "hgroup.title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "hgroup.title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "h1", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "hgroup.title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "h2", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "hgroup.title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "h2", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "normal", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* releases */", "color": "#008000" } ], [ { "text": ".milestone", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#fff", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#8ABAE4", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": "  ", "color": "#000000" }, { "text": "normal", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": "  ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".milestone", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".primary", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.75", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".milestone", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".secondary", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "normal", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* padding: 5px 5px 5px 10px;*/", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "/* features */", "color": "#008000" } ], [ { "text": "section.feature", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "200", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* ordered list */", "color": "#008000" } ], [ { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "list-style-type:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "25", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "45", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li.one", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/orderedlistOne.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li.two", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/orderedlistTwo.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li.three", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/orderedlistThree.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "/* content */", "color": "#008000" }, { "text": "  ", "color": "#000000" } ], [ { "text": "article", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "70", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "aside", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "right", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "25", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "aside", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "ul", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "aside", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "ul", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/bullet.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "50", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" } ], [ { "text": ".label", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "700", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* login page */", "color": "#008000" }, { "text": " ", "color": "#000000" } ], [ { "text": "#loginForm", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "#c8c8c8", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "45", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#loginForm", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".validation-error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#socialLoginForm", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "40", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "50", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* contact */", "color": "#008000" } ], [ { "text": ".contact", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "h3", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".contact", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "p", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".contact", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "iframe", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "#333", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* forms */", "color": "#008000" } ], [ { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "legend", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "ol", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "ol", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "label", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "600", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "label.checkbox", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "text", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "password", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#e2e2e2", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#333", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "6", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "300", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "text", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ":focus", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "password", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ":focus", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#7ac0da", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "submit", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#d3dce0", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "#787878", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "cursor:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "pointer", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.2", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "600", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "7", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* ajax login/registration dialog */", "color": "#008000" } ], [ { "text": ".modal-popup", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0.7", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* info and errors */", "color": "#008000" }, { "text": "  ", "color": "#000000" } ], [ { "text": ".message-info", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "clear:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "both", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".message-error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "clear:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "both", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e80c4d", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.1", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "bold", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".message-success", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#7ac0da", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.3", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "bold", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".success", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#7ac0da", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e80c4d", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* styles for validation helpers */", "color": "#008000" } ], [ { "text": ".field-validation-error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e80c4d", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "bold", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".field-validation-valid", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "text", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ".input-validation-error", "color": "#800000" }, { "text": ",", "color": "#000000" } ], [ { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "password", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ".input-validation-error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "#e80c4d", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".validation-summary-errors", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e80c4d", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "bold", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.1", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".validation-summary-valid", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/* social */", "color": "#008000" } ], [ { "text": "ul#social", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ul#social", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#999", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.facebook", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "a.twitter", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "24", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "17", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-indent:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "-9999", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "16", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.facebook", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/facebook.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a.twitter", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "\"../images/twitter.png\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "no-repeat", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "/********************", "color": "#008000" } ], [ { "text": "*   Mobile Styles   *", "color": "#008000" } ], [ { "text": "********************/", "color": "#008000" } ], [ { "text": "@", "color": "#000000" }, { "text": "media", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "only", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "screen", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "and", "color": "#800000" }, { "text": " (", "color": "#000000" }, { "text": "max-width:", "color": "#800000" }, { "text": " 850", "color": "#000000" }, { "text": "px", "color": "#800000" }, { "text": ") ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* header  ", "color": "#008000" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": "    header .float-left, ", "color": "#000000" } ], [ { "text": "    header .float-right {", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* logo */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "header", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".site-title", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "/*margin: 0; */", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "/*margin: 10px;*/", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-align:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "left", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* login */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": ".85", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-top:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-align:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "center", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "ul", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#999", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "600", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#login", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "a:hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#333", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* menu */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "nav", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ul#menu", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-align:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "center", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ul#menu", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* main layout  ", "color": "#008000" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".main-content", "color": "#800000" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".main-content", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "background-position:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".content-wrapper", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".featured", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".content-wrapper", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* page content */", "color": "#008000" }, { "text": "  ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "article", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "aside", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* ordered list */", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "list-style-type:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "25", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li.one", "color": "#800000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li.two", "color": "#800000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "ol.round", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "li.three", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": "        ", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "/* features */", "color": "#008000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "section.feature", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "section.feature", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "img", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#999", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "content:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "attr(alt)", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1.5", "color": "#09885a" }, { "text": "em", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "600", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* forms */", "color": "#008000" }, { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "text", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fieldset", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "input", "color": "#800000" }, { "text": "[", "color": "#000000" }, { "text": "type", "color": "#0451a5" }, { "text": "=", "color": "#000000" }, { "text": "\"", "color": "#000000" }, { "text": "password", "color": "#0451a5" }, { "text": "\"", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "90", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* login page */", "color": "#008000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#loginForm", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "border-right:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#loginForm", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".validation-error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "#socialLoginForm", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "margin-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "/* footer  ", "color": "#008000" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#008000" }, { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "footer", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".float-left", "color": "#800000" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "footer", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".float-right", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "footer", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "text-align:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "center", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "footer", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "p", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "ul#social", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "         ", "color": "#000000" }, { "text": "a.facebook", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "a.twitter", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "float:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "padding-left:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "text-indent:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "width:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "    ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".subsite", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#444", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h3", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-weight:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "normal", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "24", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#444", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".tiles", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding-bottom:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "20", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background-color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#e3e3e3", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#editor", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "auto", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "height:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "500", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "solid", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "#ccc", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".monaco-editor.monaco", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor.vs", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor.eclipse", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#F9F9F9", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".monaco-editor.monaco", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor-background", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor.vs", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor-background", "color": "#800000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor.eclipse", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": ".monaco-editor-background", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "background:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#F9F9F9", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "html", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e2e2e2", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "body", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#fff", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#000", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#333", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".85", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-family:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Segoe UI\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": "\"HelveticaNeue-Light\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "sans-serif", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "a:link", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a:visited", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "a:active", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#333", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "outline:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#c7d1d6", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "header", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "footer", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hgroup", "color": "#569cd6" } ], [ { "text": "nav", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "section", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".float-left", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".float-right", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "right", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".highlight", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "/*    background-color: #a6dbed;", "color": "#608b4e" } ], [ { "text": "    padding-left: 5px;", "color": "#608b4e" } ], [ { "text": "    padding-right: 5px;*/", "color": "#608b4e" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".clear-fix:after", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "content:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\".\"", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "clear:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "both", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "visibility:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hidden", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h1", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h2", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h3", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "h4", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h5", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h6", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#000", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.75", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h4", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.1", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h5", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h6", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".tile", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* 2px solid #7ac0da; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "200", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "325", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "-webkit-perspective:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "-webkit-transform-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "preserve-3d", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "-webkit-transition:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-webkit-transform", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0.2", "color": "#b5cea8" }, { "text": "s", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "-webkit-box-shadow:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "rgba(", "color": "#ce9178" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": "0.3", "color": "#b5cea8" }, { "text": ")", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-position:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "center", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "center", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-repeat:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "#fff", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".tile-item", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* 2px solid #7ac0da; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inherit", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "50", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "70", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-image:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'../Images/documents.png'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-repeat:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".tile-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-family:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Segoe UI\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Tahoma", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Geneva", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Verdana", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "sans-serif", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "line-height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "21", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "14", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "a.blue-box", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "28", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#8ABAE4", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.blue-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#8ABAE4", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#FFFFFF", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "a.green-box", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "28", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#9CCF42", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.green-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#9CCF42", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#FFFFFF", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "a.green-box2", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "14", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "48", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "48", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/* border-color: #C0C0C0; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "6", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bold", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.green-box2:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#8ABAE4", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-image:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'../Images/documents.png'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#EFEFEF", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "a.yellow-box", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "28", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#DECF6B", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.yellow-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#DECF6B", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#FFFFFF", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "a.red-box", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "28", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#F79E84", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#C0C0C0", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.red-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "4", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#F79E84", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#FFFFFF", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "/* main layout ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "max-width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "960", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#body", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#efeeef", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "clear:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "both", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "35", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".main-content", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/accent.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "30", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".main-content", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/heroaccent.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "clear:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "both", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e2e2e2", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".8", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* site title", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#0066CC", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/* font-family: Rockwell, Consolas, \"Courier New\", Courier, monospace; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3.3", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "40", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a:hover", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a:active", "color": "#569cd6" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#0066CC", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "outline:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* login  ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".85", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "text-align:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "right", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#d3dce0", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a.username", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "underline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "/* menu  ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.3", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "600", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "text-align:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "right", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#999", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#333", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* page elements  ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "/* featured */", "color": "#608b4e" } ], [ { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#fff", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "/*background-color: #7ac0da;", "color": "#608b4e" } ], [ { "text": "        background-image: -ms-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        background-image: -o-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7AC0DA), color-stop(1, #A4D4E6));", "color": "#608b4e" } ], [ { "text": "        background-image: -webkit-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        background-image: linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        color: #3e5667;", "color": "#608b4e" } ], [ { "text": "        */", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "40", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "30", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "40", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h1", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/* color: #fff;", "color": "#608b4e" } ], [ { "text": "                */", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.1", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* page titles */", "color": "#608b4e" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h1", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "normal", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* releases */", "color": "#608b4e" } ], [ { "text": ".milestone", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#fff", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#8ABAE4", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "normal", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".milestone", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".primary", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.75", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".milestone", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".secondary", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "normal", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* padding: 5px 5px 5px 10px;*/", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "/* features */", "color": "#608b4e" } ], [ { "text": "section.feature", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "200", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* ordered list */", "color": "#608b4e" } ], [ { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "list-style-type:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "25", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "45", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li.one", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/orderedlistOne.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li.two", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/orderedlistTwo.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li.three", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/orderedlistThree.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "/* content */", "color": "#608b4e" }, { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "article", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "70", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "right", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "25", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/bullet.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "50", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" } ], [ { "text": ".label", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "700", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* login page */", "color": "#608b4e" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#c8c8c8", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "45", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".validation-error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#socialLoginForm", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "40", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "50", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* contact */", "color": "#608b4e" } ], [ { "text": ".contact", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".contact", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".contact", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "iframe", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#333", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* forms */", "color": "#608b4e" } ], [ { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "legend", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ol", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ol", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "label", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "600", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "label.checkbox", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "text", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "password", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e2e2e2", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#333", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "6", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "300", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "text", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ":focus", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "password", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ":focus", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#7ac0da", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "submit", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#d3dce0", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#787878", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "cursor:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "pointer", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.2", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "600", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "7", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* ajax login/registration dialog */", "color": "#608b4e" } ], [ { "text": ".modal-popup", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0.7", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* info and errors */", "color": "#608b4e" }, { "text": "  ", "color": "#d4d4d4" } ], [ { "text": ".message-info", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "clear:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "both", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".message-error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "clear:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "both", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e80c4d", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.1", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bold", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".message-success", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#7ac0da", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.3", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bold", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".success", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#7ac0da", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e80c4d", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* styles for validation helpers */", "color": "#608b4e" } ], [ { "text": ".field-validation-error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e80c4d", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bold", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".field-validation-valid", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "text", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ".input-validation-error", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "password", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ".input-validation-error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e80c4d", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".validation-summary-errors", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e80c4d", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bold", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.1", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".validation-summary-valid", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/* social */", "color": "#608b4e" } ], [ { "text": "ul#social", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ul#social", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#999", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.facebook", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a.twitter", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "24", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "17", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-indent:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-9999", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "16", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.facebook", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/facebook.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a.twitter", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"../images/twitter.png\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "no-repeat", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "/********************", "color": "#608b4e" } ], [ { "text": "*   Mobile Styles   *", "color": "#608b4e" } ], [ { "text": "********************/", "color": "#608b4e" } ], [ { "text": "@", "color": "#d4d4d4" }, { "text": "media", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "only", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "screen", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "and", "color": "#569cd6" }, { "text": " (", "color": "#d4d4d4" }, { "text": "max-width:", "color": "#569cd6" }, { "text": " 850", "color": "#d4d4d4" }, { "text": "px", "color": "#569cd6" }, { "text": ") ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* header  ", "color": "#608b4e" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "    header .float-left, ", "color": "#d4d4d4" } ], [ { "text": "    header .float-right {", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* logo */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "header", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "/*margin: 0; */", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "/*margin: 10px;*/", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-align:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "left", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* login */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".85", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-top:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-align:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "center", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#999", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "600", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#333", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* menu */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "nav", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-align:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "center", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* main layout  ", "color": "#608b4e" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".main-content", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".main-content", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "background-position:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* page content */", "color": "#608b4e" }, { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "article", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "100", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* ordered list */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "list-style-type:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "25", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li.one", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li.two", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "li.three", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "/* features */", "color": "#608b4e" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "section.feature", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "section.feature", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "img", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#999", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "content:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "attr(alt)", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1.5", "color": "#b5cea8" }, { "text": "em", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "600", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* forms */", "color": "#608b4e" }, { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "text", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "type", "color": "#ce9178" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "password", "color": "#ce9178" }, { "text": "\"", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "90", "color": "#b5cea8" }, { "text": "%", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* login page */", "color": "#608b4e" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "border-right:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".validation-error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "15", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "#socialLoginForm", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "margin-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "/* footer  ", "color": "#608b4e" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#608b4e" }, { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".float-left", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".float-right", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "text-align:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "center", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "ul#social", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "         ", "color": "#d4d4d4" }, { "text": "a.facebook", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a.twitter", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "float:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "padding-left:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "text-indent:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "width:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".subsite", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#444", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-weight:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "normal", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "24", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#444", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".tiles", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding-bottom:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "20", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background-color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#e3e3e3", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#editor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "auto", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "height:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "500", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": "px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "solid", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#ccc", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".monaco-editor.monaco", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor.vs", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor.eclipse", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#F9F9F9", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".monaco-editor.monaco", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor-background", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor.vs", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor-background", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor.eclipse", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": ".monaco-editor-background", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "background:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#F9F9F9", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "html", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e2e2e2", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "body", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#fff", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#000", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#333", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".85", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-family:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Segoe UI\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": "\"HelveticaNeue-Light\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "sans-serif", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "a:link", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "a:visited", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "a:active", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#333", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "outline:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "3", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#c7d1d6", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "header", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "footer", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "hgroup", "color": "#569cd6" } ], [ { "text": "nav", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "section", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".float-left", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".float-right", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "right", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".highlight", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "/*    background-color: #a6dbed;", "color": "#608b4e" } ], [ { "text": "    padding-left: 5px;", "color": "#608b4e" } ], [ { "text": "    padding-right: 5px;*/", "color": "#608b4e" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".clear-fix:after", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "content:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\".\"", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "clear:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "both", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "visibility:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "hidden", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h1", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "h2", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "h3", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "h4", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "h5", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "h6", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#000", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.75", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h4", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.1", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h5", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "h6", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".tile", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* 2px solid #7ac0da; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "200", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "325", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "-webkit-perspective:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "-webkit-transform-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "preserve-3d", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "-webkit-transition:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "-webkit-transform", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0.2", "color": "#3ff23f" }, { "text": "s", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "-webkit-box-shadow:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "rgba(", "color": "#3ff23f" }, { "text": "0", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": "0", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": "0", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": "0.3", "color": "#3ff23f" }, { "text": ")", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-position:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "center", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "center", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-repeat:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": "  ", "color": "#ffffff" }, { "text": "#fff", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".tile-item", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* 2px solid #7ac0da; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inherit", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "50", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "70", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-image:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "'../Images/documents.png'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-repeat:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".tile-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-family:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Segoe UI\"", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Tahoma", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Geneva", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Verdana", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "sans-serif", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "line-height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "21", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "14", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "a.blue-box", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "28", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#8ABAE4", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.blue-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#8ABAE4", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#FFFFFF", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "a.green-box", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "28", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#9CCF42", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.green-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#9CCF42", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#FFFFFF", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "a.green-box2", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "14", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "48", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "48", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "/* border-color: #C0C0C0; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "6", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "bold", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.green-box2:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#8ABAE4", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-image:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "'../Images/documents.png'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#EFEFEF", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "a.yellow-box", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "28", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#DECF6B", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.yellow-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#DECF6B", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#FFFFFF", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "a.red-box", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "28", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#F79E84", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#C0C0C0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.red-box:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "4", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#F79E84", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#FFFFFF", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "/* main layout ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "max-width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "960", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#body", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#efeeef", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "clear:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "both", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "35", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".main-content", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/accent.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "30", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".main-content", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/heroaccent.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "clear:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "both", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e2e2e2", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".8", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* site title", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#0066CC", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "/* font-family: Rockwell, Consolas, \"Courier New\", Courier, monospace; */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "3.3", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "40", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a:hover", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a:active", "color": "#569cd6" }, { "text": "  ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#0066CC", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "outline:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* login  ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".85", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "text-align:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "right", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#d3dce0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "3", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "3", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a.username", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "underline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "/* menu  ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.3", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "600", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "text-align:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "right", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#999", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#333", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* page elements  ", "color": "#608b4e" } ], [ { "text": "----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "/* featured */", "color": "#608b4e" } ], [ { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#fff", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "/*background-color: #7ac0da;", "color": "#608b4e" } ], [ { "text": "        background-image: -ms-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        background-image: -o-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7AC0DA), color-stop(1, #A4D4E6));", "color": "#608b4e" } ], [ { "text": "        background-image: -webkit-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        background-image: linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);", "color": "#608b4e" } ], [ { "text": "        color: #3e5667;", "color": "#608b4e" } ], [ { "text": "        */", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": "  ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "40", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "30", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "40", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "h1", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/* color: #fff;", "color": "#608b4e" } ], [ { "text": "                */", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.1", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* page titles */", "color": "#608b4e" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "h1", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "hgroup.title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "h2", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "normal", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* releases */", "color": "#608b4e" } ], [ { "text": ".milestone", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#fff", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#8ABAE4", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": "  ", "color": "#ffffff" }, { "text": "normal", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": "  ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".milestone", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".primary", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.75", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".milestone", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".secondary", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "normal", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* padding: 5px 5px 5px 10px;*/", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "/* features */", "color": "#608b4e" } ], [ { "text": "section.feature", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "200", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* ordered list */", "color": "#608b4e" } ], [ { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "list-style-type:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "25", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "45", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li.one", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/orderedlistOne.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li.two", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/orderedlistTwo.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li.three", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/orderedlistThree.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "/* content */", "color": "#608b4e" }, { "text": "  ", "color": "#ffffff" } ], [ { "text": "article", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "70", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "right", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "25", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/bullet.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "50", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" } ], [ { "text": ".label", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "700", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* login page */", "color": "#608b4e" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#c8c8c8", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "45", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".validation-error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#socialLoginForm", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "40", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "50", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* contact */", "color": "#608b4e" } ], [ { "text": ".contact", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".contact", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".contact", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "iframe", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#333", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* forms */", "color": "#608b4e" } ], [ { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "legend", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ol", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ol", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "label", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "600", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "label.checkbox", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "text", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "password", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#e2e2e2", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#333", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "6", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "300", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "text", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ":focus", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "password", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ":focus", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#7ac0da", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "submit", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#d3dce0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#787878", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "cursor:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "pointer", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.2", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "600", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "7", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* ajax login/registration dialog */", "color": "#608b4e" } ], [ { "text": ".modal-popup", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0.7", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* info and errors */", "color": "#608b4e" }, { "text": "  ", "color": "#ffffff" } ], [ { "text": ".message-info", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "clear:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "both", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".message-error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "clear:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "both", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e80c4d", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.1", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "bold", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".message-success", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#7ac0da", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.3", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "bold", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".success", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#7ac0da", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e80c4d", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* styles for validation helpers */", "color": "#608b4e" } ], [ { "text": ".field-validation-error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e80c4d", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "bold", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".field-validation-valid", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "text", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ".input-validation-error", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "password", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ".input-validation-error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#e80c4d", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".validation-summary-errors", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e80c4d", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "bold", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.1", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".validation-summary-valid", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/* social */", "color": "#608b4e" } ], [ { "text": "ul#social", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ul#social", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#999", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.facebook", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "a.twitter", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "24", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "17", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-indent:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "-9999", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "16", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.facebook", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/facebook.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a.twitter", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "\"../images/twitter.png\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "no-repeat", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "/********************", "color": "#608b4e" } ], [ { "text": "*   Mobile Styles   *", "color": "#608b4e" } ], [ { "text": "********************/", "color": "#608b4e" } ], [ { "text": "@", "color": "#ffffff" }, { "text": "media", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "only", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "screen", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "and", "color": "#569cd6" }, { "text": " (", "color": "#ffffff" }, { "text": "max-width:", "color": "#569cd6" }, { "text": " 850", "color": "#ffffff" }, { "text": "px", "color": "#569cd6" }, { "text": ") ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* header  ", "color": "#608b4e" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "    header .float-left, ", "color": "#ffffff" } ], [ { "text": "    header .float-right {", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* logo */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "header", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".site-title", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "/*margin: 0; */", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "/*margin: 10px;*/", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-align:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "left", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* login */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".85", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-top:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-align:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "center", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#999", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "600", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#login", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a:hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#333", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* menu */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "nav", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-align:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "center", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ul#menu", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* main layout  ", "color": "#608b4e" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".main-content", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".main-content", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "background-position:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".featured", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".content-wrapper", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* page content */", "color": "#608b4e" }, { "text": "  ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "article", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "aside", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "100", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* ordered list */", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "list-style-type:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "25", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li.one", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li.two", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "ol.round", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "li.three", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": "        ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "/* features */", "color": "#608b4e" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "section.feature", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "section.feature", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "img", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#999", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "content:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "attr(alt)", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1.5", "color": "#3ff23f" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "600", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* forms */", "color": "#608b4e" }, { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "text", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fieldset", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "input", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "type", "color": "#3ff23f" }, { "text": "=", "color": "#ffff00" }, { "text": "\"", "color": "#ffffff" }, { "text": "password", "color": "#3ff23f" }, { "text": "\"", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "90", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* login page */", "color": "#608b4e" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "border-right:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#loginForm", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".validation-error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "15", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "#socialLoginForm", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "margin-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "/* footer  ", "color": "#608b4e" } ], [ { "text": "    ----------------------------------------------------------*/", "color": "#608b4e" }, { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".float-left", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".float-right", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "text-align:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "center", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "footer", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "ul#social", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "         ", "color": "#ffffff" }, { "text": "a.facebook", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "a.twitter", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "float:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "padding-left:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "text-indent:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "    ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".subsite", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#444", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-weight:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "normal", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "24", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#444", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".tiles", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding-bottom:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "20", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background-color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#e3e3e3", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#editor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "auto", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "height:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "500", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "solid", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "#ccc", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".monaco-editor.monaco", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor.vs", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor.eclipse", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#F9F9F9", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".monaco-editor.monaco", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor-background", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor.vs", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor-background", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor.eclipse", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": ".monaco-editor-background", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "background:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#F9F9F9", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ] ] } }, { "name": "sample - dockerfile", "language": "dockerfile", "result": { "vs": [ [ { "text": "FROM", "color": "#0000ff" }, { "text": " mono:3.12", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "ENV", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "KRE_FEED", "color": "#001188" }, { "text": " https://www.myget.org/F/aspnetvnext/api/v2", "color": "#000000" } ], [ { "text": "ENV", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "KRE_USER_HOME", "color": "#001188" }, { "text": " /opt/kre", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " apt-get -qq update && apt-get -qqy install unzip ", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "ONBUILD", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "RUN", "color": "#0000ff" }, { "text": " curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh", "color": "#000000" } ], [ { "text": "ONBUILD", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "RUN", "color": "#0000ff" }, { "text": " bash -c ", "color": "#000000" }, { "text": "\"source ", "color": "#a31515" }, { "text": "$KRE_USER_HOME", "color": "#001188" }, { "text": "/kvm/kvm.sh \\", "color": "#a31515" } ], [ { "text": "    && kvm install latest -a default \\", "color": "#a31515" } ], [ { "text": "    && kvm alias default | xargs -i ln -s ", "color": "#a31515" }, { "text": "$KRE_USER_HOME", "color": "#001188" }, { "text": "/packages/{} ", "color": "#a31515" }, { "text": "$KRE_USER_HOME", "color": "#001188" }, { "text": "/packages/default\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)", "color": "#008000" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " apt-get -qqy install \\", "color": "#000000" } ], [ { "text": "    autoconf \\", "color": "#000000" } ], [ { "text": "    automake \\", "color": "#000000" } ], [ { "text": "    build-essential \\", "color": "#000000" } ], [ { "text": "    libtool ", "color": "#000000" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " LIBUV_VERSION=1.0.0-rc2 \\", "color": "#000000" } ], [ { "text": "    && curl -sSL https://github.com/joyent/libuv/archive/v", "color": "#000000" }, { "text": "${LIBUV_VERSION}", "color": "#001188" }, { "text": ".tar.gz | tar zxfv - -C /usr/local/src \\", "color": "#000000" } ], [ { "text": "    && cd /usr/local/src/libuv-", "color": "#000000" }, { "text": "$LIBUV_VERSION", "color": "#001188" }, { "text": " \\", "color": "#000000" } ], [ { "text": "    && sh autogen.sh && ./configure && make && make install \\", "color": "#000000" } ], [ { "text": "    && rm -rf /usr/local/src/libuv-", "color": "#000000" }, { "text": "$LIBUV_VERSION", "color": "#001188" }, { "text": " \\", "color": "#000000" } ], [ { "text": "    && ldconfig", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "ENV", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "PATH", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "$PATH", "color": "#001188" }, { "text": ":", "color": "#000000" }, { "text": "$KRE_USER_HOME", "color": "#001188" }, { "text": "/packages/default/bin", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "# Extra things to test", "color": "#008000" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " echo ", "color": "#000000" }, { "text": "\"string at end\"", "color": "#a31515" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " echo must work ", "color": "#000000" }, { "text": "'some str'", "color": "#a31515" }, { "text": " and some more", "color": "#000000" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " echo hi this is # not a comment", "color": "#000000" } ], [ { "text": "RUN", "color": "#0000ff" }, { "text": " echo ", "color": "#000000" }, { "text": "'String with ", "color": "#a31515" }, { "text": "${VAR}", "color": "#001188" }, { "text": " and another ", "color": "#a31515" }, { "text": "$one", "color": "#001188" }, { "text": " here'", "color": "#a31515" } ] ], "vs_dark": [ [ { "text": "FROM", "color": "#569cd6" }, { "text": " mono:3.12", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "ENV", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "KRE_FEED", "color": "#74b0df" }, { "text": " https://www.myget.org/F/aspnetvnext/api/v2", "color": "#d4d4d4" } ], [ { "text": "ENV", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "KRE_USER_HOME", "color": "#74b0df" }, { "text": " /opt/kre", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " apt-get -qq update && apt-get -qqy install unzip ", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "ONBUILD", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "RUN", "color": "#569cd6" }, { "text": " curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh", "color": "#d4d4d4" } ], [ { "text": "ONBUILD", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "RUN", "color": "#569cd6" }, { "text": " bash -c ", "color": "#d4d4d4" }, { "text": "\"source ", "color": "#ce9178" }, { "text": "$KRE_USER_HOME", "color": "#74b0df" }, { "text": "/kvm/kvm.sh \\", "color": "#ce9178" } ], [ { "text": "    && kvm install latest -a default \\", "color": "#ce9178" } ], [ { "text": "    && kvm alias default | xargs -i ln -s ", "color": "#ce9178" }, { "text": "$KRE_USER_HOME", "color": "#74b0df" }, { "text": "/packages/{} ", "color": "#ce9178" }, { "text": "$KRE_USER_HOME", "color": "#74b0df" }, { "text": "/packages/default\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)", "color": "#608b4e" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " apt-get -qqy install \\", "color": "#d4d4d4" } ], [ { "text": "    autoconf \\", "color": "#d4d4d4" } ], [ { "text": "    automake \\", "color": "#d4d4d4" } ], [ { "text": "    build-essential \\", "color": "#d4d4d4" } ], [ { "text": "    libtool ", "color": "#d4d4d4" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " LIBUV_VERSION=1.0.0-rc2 \\", "color": "#d4d4d4" } ], [ { "text": "    && curl -sSL https://github.com/joyent/libuv/archive/v", "color": "#d4d4d4" }, { "text": "${LIBUV_VERSION}", "color": "#74b0df" }, { "text": ".tar.gz | tar zxfv - -C /usr/local/src \\", "color": "#d4d4d4" } ], [ { "text": "    && cd /usr/local/src/libuv-", "color": "#d4d4d4" }, { "text": "$LIBUV_VERSION", "color": "#74b0df" }, { "text": " \\", "color": "#d4d4d4" } ], [ { "text": "    && sh autogen.sh && ./configure && make && make install \\", "color": "#d4d4d4" } ], [ { "text": "    && rm -rf /usr/local/src/libuv-", "color": "#d4d4d4" }, { "text": "$LIBUV_VERSION", "color": "#74b0df" }, { "text": " \\", "color": "#d4d4d4" } ], [ { "text": "    && ldconfig", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "ENV", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "PATH", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$PATH", "color": "#74b0df" }, { "text": ":", "color": "#d4d4d4" }, { "text": "$KRE_USER_HOME", "color": "#74b0df" }, { "text": "/packages/default/bin", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "# Extra things to test", "color": "#608b4e" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo ", "color": "#d4d4d4" }, { "text": "\"string at end\"", "color": "#ce9178" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo must work ", "color": "#d4d4d4" }, { "text": "'some str'", "color": "#ce9178" }, { "text": " and some more", "color": "#d4d4d4" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo hi this is # not a comment", "color": "#d4d4d4" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo ", "color": "#d4d4d4" }, { "text": "'String with ", "color": "#ce9178" }, { "text": "${VAR}", "color": "#74b0df" }, { "text": " and another ", "color": "#ce9178" }, { "text": "$one", "color": "#74b0df" }, { "text": " here'", "color": "#ce9178" } ] ], "hc_black": [ [ { "text": "FROM", "color": "#569cd6" }, { "text": " mono:3.12", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "ENV", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "KRE_FEED", "color": "#1aebff" }, { "text": " https://www.myget.org/F/aspnetvnext/api/v2", "color": "#ffffff" } ], [ { "text": "ENV", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "KRE_USER_HOME", "color": "#1aebff" }, { "text": " /opt/kre", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " apt-get -qq update && apt-get -qqy install unzip ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "ONBUILD", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "RUN", "color": "#569cd6" }, { "text": " curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh", "color": "#ffffff" } ], [ { "text": "ONBUILD", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "RUN", "color": "#569cd6" }, { "text": " bash -c ", "color": "#ffffff" }, { "text": "\"source ", "color": "#ce9178" }, { "text": "$KRE_USER_HOME", "color": "#1aebff" }, { "text": "/kvm/kvm.sh \\", "color": "#ce9178" } ], [ { "text": "    && kvm install latest -a default \\", "color": "#ce9178" } ], [ { "text": "    && kvm alias default | xargs -i ln -s ", "color": "#ce9178" }, { "text": "$KRE_USER_HOME", "color": "#1aebff" }, { "text": "/packages/{} ", "color": "#ce9178" }, { "text": "$KRE_USER_HOME", "color": "#1aebff" }, { "text": "/packages/default\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)", "color": "#608b4e" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " apt-get -qqy install \\", "color": "#ffffff" } ], [ { "text": "    autoconf \\", "color": "#ffffff" } ], [ { "text": "    automake \\", "color": "#ffffff" } ], [ { "text": "    build-essential \\", "color": "#ffffff" } ], [ { "text": "    libtool ", "color": "#ffffff" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " LIBUV_VERSION=1.0.0-rc2 \\", "color": "#ffffff" } ], [ { "text": "    && curl -sSL https://github.com/joyent/libuv/archive/v", "color": "#ffffff" }, { "text": "${LIBUV_VERSION}", "color": "#1aebff" }, { "text": ".tar.gz | tar zxfv - -C /usr/local/src \\", "color": "#ffffff" } ], [ { "text": "    && cd /usr/local/src/libuv-", "color": "#ffffff" }, { "text": "$LIBUV_VERSION", "color": "#1aebff" }, { "text": " \\", "color": "#ffffff" } ], [ { "text": "    && sh autogen.sh && ./configure && make && make install \\", "color": "#ffffff" } ], [ { "text": "    && rm -rf /usr/local/src/libuv-", "color": "#ffffff" }, { "text": "$LIBUV_VERSION", "color": "#1aebff" }, { "text": " \\", "color": "#ffffff" } ], [ { "text": "    && ldconfig", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "ENV", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "PATH", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "$PATH", "color": "#1aebff" }, { "text": ":", "color": "#ffffff" }, { "text": "$KRE_USER_HOME", "color": "#1aebff" }, { "text": "/packages/default/bin", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "# Extra things to test", "color": "#608b4e" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo ", "color": "#ffffff" }, { "text": "\"string at end\"", "color": "#ce9178" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo must work ", "color": "#ffffff" }, { "text": "'some str'", "color": "#ce9178" }, { "text": " and some more", "color": "#ffffff" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo hi this is # not a comment", "color": "#ffffff" } ], [ { "text": "RUN", "color": "#569cd6" }, { "text": " echo ", "color": "#ffffff" }, { "text": "'String with ", "color": "#ce9178" }, { "text": "${VAR}", "color": "#1aebff" }, { "text": " and another ", "color": "#ce9178" }, { "text": "$one", "color": "#1aebff" }, { "text": " here'", "color": "#ce9178" } ] ] } }, { "name": "sample - fsharp", "language": "fsharp", "result": { "vs": [ [ { "text": "(* Sample F# application *)", "color": "#008000" } ], [ { "text": "[]", "color": "#808080" } ], [ { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "main", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "argv", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "printfn", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"%A\"", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": "argv", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Console", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "WriteLine", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"Hello from F#\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "// return an integer exit code", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "//-------------------------------------------------------- ", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "(* Sample F# application *)", "color": "#608b4e" } ], [ { "text": "[]", "color": "#cc6666" } ], [ { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "main", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "argv", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "printfn", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"%A\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "argv", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Console", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "WriteLine", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"Hello from F#\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "// return an integer exit code", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "//-------------------------------------------------------- ", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "(* Sample F# application *)", "color": "#608b4e" } ], [ { "text": "[]", "color": "#569cd6" } ], [ { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "main", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "argv", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "printfn", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "\"%A\"", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": "argv", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Console", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "WriteLine", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"Hello from F#\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "// return an integer exit code", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "//-------------------------------------------------------- ", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - go", "language": "go", "result": { "vs": [ [ { "text": "// We often need our programs to perform operations on", "color": "#008000" } ], [ { "text": "// collections of data, like selecting all items that", "color": "#008000" } ], [ { "text": "// satisfy a given predicate or mapping all items to a new", "color": "#008000" } ], [ { "text": "// collection with a custom function.", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// In some languages it's idiomatic to use [generic](http://en.wikipedia.org/wiki/Generic_programming)", "color": "#008000" } ], [ { "text": "// data structures and algorithms. Go does not support", "color": "#008000" } ], [ { "text": "// generics; in Go it's common to provide collection", "color": "#008000" } ], [ { "text": "// functions if and when they are specifically needed for", "color": "#008000" } ], [ { "text": "// your program and data types.", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Here are some example collection functions for slices", "color": "#008000" } ], [ { "text": "// of `strings`. You can use these examples to build your", "color": "#008000" } ], [ { "text": "// own functions. Note that in some cases it may be", "color": "#008000" } ], [ { "text": "// clearest to just inline the collection-manipulating", "color": "#008000" } ], [ { "text": "// code directly, instead of creating and calling a", "color": "#008000" } ], [ { "text": "// helper function.", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "package", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "main", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"strings\"", "color": "#a31515" } ], [ { "text": "import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"fmt\"", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Returns the first index of the target string `t`, or", "color": "#008000" } ], [ { "text": "// -1 if no match is found.", "color": "#008000" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Index", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "t", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "int", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "range", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "t", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "1", "color": "#09885a" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Returns `true` if the target string t is in the", "color": "#008000" } ], [ { "text": "// slice.", "color": "#008000" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Include", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "t", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Index", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "t", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ">=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Returns `true` if one of the strings in the slice", "color": "#008000" } ], [ { "text": "// satisfies the predicate `f`.", "color": "#008000" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Any", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "_", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "range", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Returns `true` if all of the strings in the slice", "color": "#008000" } ], [ { "text": "// satisfy the predicate `f`.", "color": "#008000" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "All", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "_", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "range", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "!", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Returns a new slice containing all strings in the", "color": "#008000" } ], [ { "text": "// slice that satisfy the predicate `f`.", "color": "#008000" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Filter", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "vsf", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "make", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "_", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "range", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "vsf", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "append", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vsf", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vsf", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "// Returns a new slice containing the results of applying", "color": "#008000" } ], [ { "text": "// the function `f` to each string in the original slice.", "color": "#008000" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Map", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "vsm", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "make", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": "))", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "range", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "vsm", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "f", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "vsm", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "main", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Here we try out our various collection functions.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": "{", "color": "#000000" }, { "text": "\"peach\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"apple\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"pear\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"plum\"", "color": "#a31515" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fmt", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Index", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"pear\"", "color": "#a31515" }, { "text": "))", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fmt", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Include", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"grape\"", "color": "#a31515" }, { "text": "))", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fmt", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Any", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "strings", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "HasPrefix", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"p\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "))", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fmt", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "All", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "strings", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "HasPrefix", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"p\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "))", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fmt", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Filter", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bool", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "strings", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Contains", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "v", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"e\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "))", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// The above examples all used anonymous functions,", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// but you can also use named functions of the correct", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// type.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "fmt", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Map", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "strs", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "strings", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "ToUpper", "color": "#000000" }, { "text": "))", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "// We often need our programs to perform operations on", "color": "#608b4e" } ], [ { "text": "// collections of data, like selecting all items that", "color": "#608b4e" } ], [ { "text": "// satisfy a given predicate or mapping all items to a new", "color": "#608b4e" } ], [ { "text": "// collection with a custom function.", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// In some languages it's idiomatic to use [generic](http://en.wikipedia.org/wiki/Generic_programming)", "color": "#608b4e" } ], [ { "text": "// data structures and algorithms. Go does not support", "color": "#608b4e" } ], [ { "text": "// generics; in Go it's common to provide collection", "color": "#608b4e" } ], [ { "text": "// functions if and when they are specifically needed for", "color": "#608b4e" } ], [ { "text": "// your program and data types.", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Here are some example collection functions for slices", "color": "#608b4e" } ], [ { "text": "// of `strings`. You can use these examples to build your", "color": "#608b4e" } ], [ { "text": "// own functions. Note that in some cases it may be", "color": "#608b4e" } ], [ { "text": "// clearest to just inline the collection-manipulating", "color": "#608b4e" } ], [ { "text": "// code directly, instead of creating and calling a", "color": "#608b4e" } ], [ { "text": "// helper function.", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "package", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "main", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"strings\"", "color": "#ce9178" } ], [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"fmt\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Returns the first index of the target string `t`, or", "color": "#608b4e" } ], [ { "text": "// -1 if no match is found.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Index", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "t", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "int", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "t", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Returns `true` if the target string t is in the", "color": "#608b4e" } ], [ { "text": "// slice.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Include", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "t", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Index", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "t", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ">=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Returns `true` if one of the strings in the slice", "color": "#608b4e" } ], [ { "text": "// satisfies the predicate `f`.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Any", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "_", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Returns `true` if all of the strings in the slice", "color": "#608b4e" } ], [ { "text": "// satisfy the predicate `f`.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "All", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "_", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!", "color": "#dcdcdc" }, { "text": "f", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Returns a new slice containing all strings in the", "color": "#608b4e" } ], [ { "text": "// slice that satisfy the predicate `f`.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Filter", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "vsf", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "make", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "_", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "vsf", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "append", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vsf", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vsf", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "// Returns a new slice containing the results of applying", "color": "#608b4e" } ], [ { "text": "// the function `f` to each string in the original slice.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Map", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "vsm", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "make", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "vs", "color": "#d4d4d4" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "vsm", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "i", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "f", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "vsm", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "main", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Here we try out our various collection functions.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "strs", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": "string", "color": "#569cd6" }, { "text": "{", "color": "#dcdcdc" }, { "text": "\"peach\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"apple\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"pear\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"plum\"", "color": "#ce9178" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fmt", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Index", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "strs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"pear\"", "color": "#ce9178" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fmt", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Include", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "strs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"grape\"", "color": "#ce9178" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fmt", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Any", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "strs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "strings", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "HasPrefix", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"p\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fmt", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "All", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "strs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "strings", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "HasPrefix", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"p\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fmt", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Filter", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "strs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "strings", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Contains", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "v", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"e\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// The above examples all used anonymous functions,", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// but you can also use named functions of the correct", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// type.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "fmt", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Map", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "strs", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "strings", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "ToUpper", "color": "#d4d4d4" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "// We often need our programs to perform operations on", "color": "#608b4e" } ], [ { "text": "// collections of data, like selecting all items that", "color": "#608b4e" } ], [ { "text": "// satisfy a given predicate or mapping all items to a new", "color": "#608b4e" } ], [ { "text": "// collection with a custom function.", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// In some languages it's idiomatic to use [generic](http://en.wikipedia.org/wiki/Generic_programming)", "color": "#608b4e" } ], [ { "text": "// data structures and algorithms. Go does not support", "color": "#608b4e" } ], [ { "text": "// generics; in Go it's common to provide collection", "color": "#608b4e" } ], [ { "text": "// functions if and when they are specifically needed for", "color": "#608b4e" } ], [ { "text": "// your program and data types.", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Here are some example collection functions for slices", "color": "#608b4e" } ], [ { "text": "// of `strings`. You can use these examples to build your", "color": "#608b4e" } ], [ { "text": "// own functions. Note that in some cases it may be", "color": "#608b4e" } ], [ { "text": "// clearest to just inline the collection-manipulating", "color": "#608b4e" } ], [ { "text": "// code directly, instead of creating and calling a", "color": "#608b4e" } ], [ { "text": "// helper function.", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "package", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "main", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"strings\"", "color": "#ce9178" } ], [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"fmt\"", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Returns the first index of the target string `t`, or", "color": "#608b4e" } ], [ { "text": "// -1 if no match is found.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Index", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "t", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "int", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "t", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Returns `true` if the target string t is in the", "color": "#608b4e" } ], [ { "text": "// slice.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Include", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "t", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Index", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "t", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ">=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Returns `true` if one of the strings in the slice", "color": "#608b4e" } ], [ { "text": "// satisfies the predicate `f`.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Any", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "_", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Returns `true` if all of the strings in the slice", "color": "#608b4e" } ], [ { "text": "// satisfy the predicate `f`.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "All", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "_", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "!", "color": "#ffff00" }, { "text": "f", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Returns a new slice containing all strings in the", "color": "#608b4e" } ], [ { "text": "// slice that satisfy the predicate `f`.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Filter", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "vsf", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "make", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "_", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "vsf", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "append", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vsf", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vsf", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "// Returns a new slice containing the results of applying", "color": "#608b4e" } ], [ { "text": "// the function `f` to each string in the original slice.", "color": "#608b4e" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Map", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "vsm", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "make", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "vs", "color": "#ffffff" }, { "text": "))", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "range", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "vsm", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "i", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "f", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "vsm", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "main", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Here we try out our various collection functions.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "strs", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": "string", "color": "#569cd6" }, { "text": "{", "color": "#ffff00" }, { "text": "\"peach\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"apple\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"pear\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"plum\"", "color": "#ce9178" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fmt", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Index", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "strs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"pear\"", "color": "#ce9178" }, { "text": "))", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fmt", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Include", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "strs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"grape\"", "color": "#ce9178" }, { "text": "))", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fmt", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Any", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "strs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "strings", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "HasPrefix", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"p\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "))", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fmt", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "All", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "strs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "strings", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "HasPrefix", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"p\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "))", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fmt", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Filter", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "strs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bool", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "strings", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Contains", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "v", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"e\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "))", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// The above examples all used anonymous functions,", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// but you can also use named functions of the correct", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// type.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "fmt", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Map", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "strs", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "strings", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "ToUpper", "color": "#ffffff" }, { "text": "))", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - handlebars", "language": "handlebars", "result": { "vs": [ [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "div", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "class", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"entry\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "h1", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "{{", "color": "#000000" }, { "text": "title", "color": "#001188" }, { "text": "}}", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "#if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "author", "color": "#001188" }, { "text": "}}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "h2", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "{{", "color": "#000000" }, { "text": "author.firstName", "color": "#001188" }, { "text": "}}", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "author.lastName", "color": "#001188" }, { "text": "}}", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "else", "color": "#0000ff" }, { "text": "}}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "h2", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Unknown Author", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "/if", "color": "#0000ff" }, { "text": "}}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "contentBody", "color": "#001188" }, { "text": "}}", "color": "#000000" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "{{", "color": "#000000" }, { "text": "#unless", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "license", "color": "#001188" }, { "text": "}}", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "h3", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "class", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" }, { "text": "WARNING: This entry does not have a license!", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "{{", "color": "#000000" }, { "text": "/unless", "color": "#0000ff" }, { "text": "}}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "div", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "class", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"footnotes\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "ul", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "        ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "#each", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "footnotes", "color": "#001188" }, { "text": "}}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "li", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "{{", "color": "#000000" }, { "text": "this", "color": "#001188" }, { "text": "}}", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "        ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "/each", "color": "#0000ff" }, { "text": "}}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "h1", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Comments", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "div", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "id", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"comments\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "#each", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "comments", "color": "#001188" }, { "text": "}}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "h2", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "<", "color": "#383838" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "href", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"/posts/{{../permalink}}#{{id}}\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" }, { "text": "{{", "color": "#000000" }, { "text": "title", "color": "#001188" }, { "text": "}}", "color": "#000000" }, { "text": "", "color": "#383838" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "div", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "{{", "color": "#000000" }, { "text": "body", "color": "#001188" }, { "text": "}}", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{{", "color": "#000000" }, { "text": "/each", "color": "#0000ff" }, { "text": "}}", "color": "#000000" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "class", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"entry\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "h1", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "title", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "#if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "author", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "h2", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "author.firstName", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "author.lastName", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "else", "color": "#569cd6" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "h2", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Unknown Author", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "/if", "color": "#569cd6" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "contentBody", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "{{", "color": "#dcdcdc" }, { "text": "#unless", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "license", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "class", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" }, { "text": "WARNING: This entry does not have a license!", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "{{", "color": "#dcdcdc" }, { "text": "/unless", "color": "#569cd6" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "class", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"footnotes\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "ul", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "#each", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "footnotes", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "li", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "this", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" }, { "text": "", "color": "#808080" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "/each", "color": "#569cd6" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "h1", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Comments", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "id", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"comments\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "#each", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "comments", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "h2", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "<", "color": "#808080" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "href", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"/posts/{{../permalink}}#{{id}}\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "title", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" }, { "text": "", "color": "#808080" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "div", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "body", "color": "#9cdcfe" }, { "text": "}}", "color": "#dcdcdc" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{{", "color": "#dcdcdc" }, { "text": "/each", "color": "#569cd6" }, { "text": "}}", "color": "#dcdcdc" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"entry\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "h1", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "{{", "color": "#ffff00" }, { "text": "title", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "#if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "author", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "h2", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "{{", "color": "#ffff00" }, { "text": "author.firstName", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "author.lastName", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "else", "color": "#569cd6" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "h2", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Unknown Author", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "/if", "color": "#569cd6" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "contentBody", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "{{", "color": "#ffff00" }, { "text": "#unless", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "license", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "h3", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"warning\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" }, { "text": "WARNING: This entry does not have a license!", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "{{", "color": "#ffff00" }, { "text": "/unless", "color": "#569cd6" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"footnotes\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "ul", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "#each", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "footnotes", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "li", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "{{", "color": "#ffff00" }, { "text": "this", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "/each", "color": "#569cd6" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "h1", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Comments", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "id", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"comments\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "#each", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "comments", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "h2", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "<", "color": "#ffff00" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "href", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"/posts/{{../permalink}}#{{id}}\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" }, { "text": "{{", "color": "#ffff00" }, { "text": "title", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" }, { "text": "", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "div", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "{{", "color": "#ffff00" }, { "text": "body", "color": "#9cdcfe" }, { "text": "}}", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{{", "color": "#ffff00" }, { "text": "/each", "color": "#569cd6" }, { "text": "}}", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - html", "language": "html", "result": { "vs": [ [ { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#008000" } ], [ { "text": "<", "color": "#383838" }, { "text": "html", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "<", "color": "#383838" }, { "text": "head", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "title", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "HTML Sample", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "meta", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "http-equiv", "color": "#ff0000" }, { "text": "=", "color": "#383838" }, { "text": "\"X-UA-Compatible\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "content", "color": "#ff0000" }, { "text": "=", "color": "#383838" }, { "text": "\"IE=edge\"", "color": "#0000ff" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "style", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#383838" }, { "text": "\"text/css\"", "color": "#0000ff" }, { "text": ">", "color": "#383838" } ], [ { "text": "        ", "color": "#000000" }, { "text": "h1", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "color:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "#CCA3A3", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "script", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#383838" }, { "text": "\"text/javascript\"", "color": "#0000ff" }, { "text": ">", "color": "#383838" } ], [ { "text": "        window.alert(", "color": "#000000" }, { "text": "\"I am a sample...\"", "color": "#a31515" }, { "text": ");", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ], [ { "text": "<", "color": "#383838" }, { "text": "body", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "h1", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Heading No.1", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "input", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "disabled", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#383838" }, { "text": "\"button\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#ff0000" }, { "text": "=", "color": "#383838" }, { "text": "\"Click me\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "/>", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ] ], "vs_dark": [ [ { "text": "", "color": "#569cd6" } ], [ { "text": "", "color": "#608b4e" } ], [ { "text": "<", "color": "#808080" }, { "text": "html", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "<", "color": "#808080" }, { "text": "head", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "title", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "HTML Sample", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "meta", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "http-equiv", "color": "#9cdcfe" }, { "text": "=", "color": "#808080" }, { "text": "\"X-UA-Compatible\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "content", "color": "#9cdcfe" }, { "text": "=", "color": "#808080" }, { "text": "\"IE=edge\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "style", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#808080" }, { "text": "\"text/css\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "color:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#CCA3A3", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "script", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#808080" }, { "text": "\"text/javascript\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "window", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "alert", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"I am a sample...\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ], [ { "text": "<", "color": "#808080" }, { "text": "body", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "h1", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Heading No.1", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "disabled", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#808080" }, { "text": "\"button\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#9cdcfe" }, { "text": "=", "color": "#808080" }, { "text": "\"Click me\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/>", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ] ], "hc_black": [ [ { "text": "", "color": "#569cd6" } ], [ { "text": "", "color": "#608b4e" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "html", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "head", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "title", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "HTML Sample", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "meta", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "http-equiv", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"X-UA-Compatible\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "content", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"IE=edge\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "style", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text/css\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "color:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "#CCA3A3", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "script", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text/javascript\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "window", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "alert", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"I am a sample...\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "body", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "h1", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Heading No.1", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "disabled", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"button\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"Click me\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "/>", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ] ] } }, { "name": "sample - ini", "language": "ini", "result": { "vs": [ [ { "text": "# Example of a .gitconfig file", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "[core]", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "repositoryformatversion", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" } ], [ { "text": "    ", "color": "#000000" }, { "text": "filemode", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " false", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "bare", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " false", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "logallrefupdates", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " true", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "symlinks", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " false", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ignorecase", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " true", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "hideDotFiles", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " dotGitOnly", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "# Defines the master branch", "color": "#008000" } ], [ { "text": "[branch \"master\"]", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "remote", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " origin", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "merge", "color": "#863b00" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " refs/heads/master", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "# Example of a .gitconfig file", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "[core]", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "repositoryformatversion", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "filemode", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " false", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "bare", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " false", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "logallrefupdates", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " true", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "symlinks", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " false", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ignorecase", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " true", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "hideDotFiles", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " dotGitOnly", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "# Defines the master branch", "color": "#608b4e" } ], [ { "text": "[branch \"master\"]", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "remote", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " origin", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "merge", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " refs/heads/master", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "# Example of a .gitconfig file", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "[core]", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "repositoryformatversion", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "filemode", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " false", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "bare", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " false", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "logallrefupdates", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " true", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "symlinks", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " false", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ignorecase", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " true", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "hideDotFiles", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " dotGitOnly", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "# Defines the master branch", "color": "#608b4e" } ], [ { "text": "[branch \"master\"]", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "remote", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " origin", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "merge", "color": "#9cdcfe" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " refs/heads/master", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - pug", "language": "pug", "result": { "vs": [ [ { "text": "doctype", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" } ], [ { "text": "html", "color": "#800000" }, { "text": "(", "color": "#000000" }, { "text": "lang", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"en\"", "color": "#0451a5" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "head", "color": "#800000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "title", "color": "#800000" }, { "text": "= pageTitle", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "script", "color": "#800000" }, { "text": "(", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "'text/javascript'", "color": "#0451a5" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "foo", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                bar", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "body", "color": "#800000" } ], [ { "text": "        // Disclaimer: You will need to turn insertSpaces to true in order for the", "color": "#008000" } ], [ { "text": "            syntax highlighting to kick in properly (especially for comments)", "color": "#008000" } ], [ { "text": "            Enjoy :)", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "h1", "color": "#800000" }, { "text": "Pug- node template engine", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#container", "color": "#4f76ac" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " youAreUsingPug", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "p", "color": "#800000" }, { "text": " You are amazing", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "                ", "color": "#000000" }, { "text": "p", "color": "#800000" }, { "text": " Get on it!", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "doctype", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" } ], [ { "text": "html", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "lang", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"en\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "head", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "title", "color": "#569cd6" }, { "text": "= pageTitle", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "script", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "'text/javascript'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "foo", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                bar", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "body", "color": "#569cd6" } ], [ { "text": "        // Disclaimer: You will need to turn insertSpaces to true in order for the", "color": "#608b4e" } ], [ { "text": "            syntax highlighting to kick in properly (especially for comments)", "color": "#608b4e" } ], [ { "text": "            Enjoy :)", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "h1", "color": "#569cd6" }, { "text": " Pug - node template engine", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#container", "color": "#4f76ac" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " youAreUsingPug", "color": "#d4d4d4" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "p", "color": "#569cd6" }, { "text": " You are amazing", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "p", "color": "#569cd6" }, { "text": " Get on it!", "color": "#d4d4d4" } ] ], "hc_black": [ [ { "text": "doctype", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#ffffff" } ], [ { "text": "html", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "lang", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"en\"", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "head", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "title", "color": "#569cd6" }, { "text": "= pageTitle", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "script", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "'text/javascript'", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "foo", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                bar", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "body", "color": "#569cd6" } ], [ { "text": "        // Disclaimer: You will need to turn insertSpaces to true in order for the", "color": "#608b4e" } ], [ { "text": "            syntax highlighting to kick in properly (especially for comments)", "color": "#608b4e" } ], [ { "text": "            Enjoy :)", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "h1", "color": "#569cd6" }, { "text": " Pug - node template engine", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#container", "color": "#4f76ac" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " youAreUsingPug", "color": "#ffffff" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "p", "color": "#569cd6" }, { "text": " You are amazing", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "p", "color": "#569cd6" }, { "text": " Get on it!", "color": "#ffffff" } ] ] } }, { "name": "sample - java", "language": "java", "result": { "vs": [ [ { "text": "import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "java", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "util", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "ArrayList", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "org", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "junit", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Test", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Example", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "@Test", "color": "#808080" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "method", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "       ", "color": "#000000" }, { "text": "org", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "junit", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Assert", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "assertTrue", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"isEmpty\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ArrayList", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "Integer", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "isEmpty", "color": "#000000" }, { "text": "())", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "   ", "color": "#000000" }, { "text": "@Test", "color": "#808080" }, { "text": "(", "color": "#000000" }, { "text": "timeout", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": "100", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "infinity", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "       ", "color": "#000000" }, { "text": "while", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "java", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "util", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "ArrayList", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "org", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "junit", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Test", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Example", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "@Test", "color": "#cc6666" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "method", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "       ", "color": "#d4d4d4" }, { "text": "org", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "junit", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Assert", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "assertTrue", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"isEmpty\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ArrayList", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "Integer", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": "()", "color": "#dcdcdc" }, { "text": ".", "color": "#dcdcdc" }, { "text": "isEmpty", "color": "#d4d4d4" }, { "text": "())", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "   ", "color": "#d4d4d4" }, { "text": "@Test", "color": "#cc6666" }, { "text": "(", "color": "#dcdcdc" }, { "text": "timeout", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": "100", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "infinity", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "       ", "color": "#d4d4d4" }, { "text": "while", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "true", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#d4d4d4" } ] ], "hc_black": [ [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "java", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "util", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "ArrayList", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "org", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "junit", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Test", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Example", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "@Test", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "method", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "       ", "color": "#ffffff" }, { "text": "org", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "junit", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Assert", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "assertTrue", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"isEmpty\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ArrayList", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "Integer", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": "()", "color": "#ffff00" }, { "text": ".", "color": "#ffff00" }, { "text": "isEmpty", "color": "#ffffff" }, { "text": "())", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "   ", "color": "#ffffff" }, { "text": "@Test", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "timeout", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": "100", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "infinity", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "       ", "color": "#ffffff" }, { "text": "while", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "true", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - javascript", "language": "javascript", "result": { "vs": [ [ { "text": "/*", "color": "#008000" } ], [ { "text": "  © Microsoft. All rights reserved.", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "  This library is supported for use in Windows Tailored Apps only.", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "  Build: 6.2.8100.0 ", "color": "#008000" } ], [ { "text": "  Version: 0.5 ", "color": "#008000" } ], [ { "text": "*/", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "(", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "global", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "undefined", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "\"use strict\"", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "undefinedVariable", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "undefinedVariable", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "prop", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "target", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "keys", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "keys", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "keys", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "length", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "key", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "keys", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "key", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "charCodeAt", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "/*_*/", "color": "#008000" }, { "text": "95", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "key", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "&&", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "typeof", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "===", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'object'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "undefined", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "typeof", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "get", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "===", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'function'", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "typeof", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "set", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "===", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'function'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "===", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "undefined", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                        ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "key", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "continue", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "!", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "key", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "configurable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "writable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "continue", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "target", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "key", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "member", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "defineProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "target", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "properties", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "rootNamespace", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Create the rootNamespace in the global namespace", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "!", "color": "#000000" }, { "text": "global", "color": "#0000ff" }, { "text": "[", "color": "#000000" }, { "text": "rootNamespace", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "global", "color": "#0000ff" }, { "text": "[", "color": "#000000" }, { "text": "rootNamespace", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "create", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Cache the rootNamespace we just created in a local variable", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "_rootNamespace", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "global", "color": "#0000ff" }, { "text": "[", "color": "#000000" }, { "text": "rootNamespace", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "!", "color": "#000000" }, { "text": "_rootNamespace", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Namespace", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "_rootNamespace", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Namespace", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "create", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "defineWithParent", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "parentNamespace", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "name", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Defines a new namespace with the specified name, under the specified parent namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The parent namespace which will contain the new namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Name of the new namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Members in the new namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The newly defined namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "parentNamespace", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "namespaceFragments", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "name", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "split", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\".\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "namespaceFragments", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "length", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "namespaceName", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "namespaceFragments", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "!", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "namespaceName", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "defineProperty", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "namespaceName", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "                        ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{}", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "writable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "configurable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "namespaceName", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "currentNamespace", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "name", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Defines a new namespace with the specified name.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Name of the namespace.  This could be a dot-separated nested name.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Members in the new namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The newly defined namespace.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "defineWithParent", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "global", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "name", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "members", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Establish members of the \"WinJS.Namespace\" namespace", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "defineProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "_rootNamespace", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Namespace", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "defineWithParent", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "defineWithParent", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "writable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "writable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "enumerable", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")(", "color": "#000000" }, { "text": "\"WinJS\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "WinJS", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Defines a class using the given constructor and with the specified instance members.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The set of instance fields, properties and methods to be made available on the class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The set of static fields, properties and methods to be made available on the class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The newly defined class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "derive", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "baseClass", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Uses prototypal inheritance to create a sub-class based on the supplied baseClass parameter.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The class to inherit from.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The set of instance fields, properties and methods to be made available on the class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The set of static fields, properties and methods to be made available on the class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The newly defined class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "baseClass", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "basePrototype", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "baseClass", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "create", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "basePrototype", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "defineProperty", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"_super\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "basePrototype", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "Object", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "defineProperty", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"constructor\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "else", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "instanceMembers", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "staticMembers", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "mix", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// Defines a class using the given constructor and the union of the set of instance members", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// specified by all the mixin objects.  The mixin parameter list can be of variable length.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// The newly defined class.", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "/// ", "color": "#008000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "arguments", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "length", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "len", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "initializeProperties", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "prototype", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "arguments", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "i", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Establish members of \"WinJS.Class\" namespace", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "WinJS", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Namespace", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"WinJS.Class\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "define", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "derive", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "derive", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "mix", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "mix", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")(", "color": "#000000" }, { "text": "WinJS", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "}", "color": "#000000" }, { "text": ")(", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "/*", "color": "#608b4e" } ], [ { "text": "  © Microsoft. All rights reserved.", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "  This library is supported for use in Windows Tailored Apps only.", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "  Build: 6.2.8100.0 ", "color": "#608b4e" } ], [ { "text": "  Version: 0.5 ", "color": "#608b4e" } ], [ { "text": "*/", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "(", "color": "#dcdcdc" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "global", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "undefined", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "\"use strict\"", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "undefinedVariable", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "undefinedVariable", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prop", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "target", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "keys", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "keys", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "i", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "keys", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "length", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "key", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "keys", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "i", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "key", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "charCodeAt", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/*_*/", "color": "#608b4e" }, { "text": "95", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "members", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "key", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "member", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "&&", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "===", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'object'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "member", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "value", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "undefined", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "get", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "===", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'function'", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "set", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "===", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'function'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "member", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "===", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "undefined", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                        ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "key", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "continue", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "!", "color": "#dcdcdc" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "key", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "configurable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "writable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "continue", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "target", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "key", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "member", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "properties", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "defineProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "target", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "properties", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "rootNamespace", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Create the rootNamespace in the global namespace", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "!", "color": "#dcdcdc" }, { "text": "global", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "rootNamespace", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "global", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "rootNamespace", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "create", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Cache the rootNamespace we just created in a local variable", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "_rootNamespace", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "global", "color": "#569cd6" }, { "text": "[", "color": "#dcdcdc" }, { "text": "rootNamespace", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "!", "color": "#dcdcdc" }, { "text": "_rootNamespace", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Namespace", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "_rootNamespace", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Namespace", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "create", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defineWithParent", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "parentNamespace", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "name", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Defines a new namespace with the specified name, under the specified parent namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The parent namespace which will contain the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Name of the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Members in the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The newly defined namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "parentNamespace", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "namespaceFragments", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "name", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "split", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\".\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespaceFragments", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "length", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespaceName", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespaceFragments", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "i", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "!", "color": "#dcdcdc" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "namespaceName", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "defineProperty", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "namespaceName", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "                        ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "writable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "configurable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "namespaceName", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "currentNamespace", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "name", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Defines a new namespace with the specified name.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Name of the namespace.  This could be a dot-separated nested name.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Members in the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The newly defined namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defineWithParent", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "global", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "name", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "members", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Establish members of the \"WinJS.Namespace\" namespace", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "defineProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "_rootNamespace", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Namespace", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "defineWithParent", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defineWithParent", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "writable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "writable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "enumerable", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")(", "color": "#dcdcdc" }, { "text": "\"WinJS\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "WinJS", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Defines a class using the given constructor and with the specified instance members.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The set of instance fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The set of static fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The newly defined class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "derive", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "baseClass", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Uses prototypal inheritance to create a sub-class based on the supplied baseClass parameter.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The class to inherit from.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The set of instance fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The set of static fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The newly defined class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "baseClass", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "basePrototype", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "baseClass", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "create", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "basePrototype", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "defineProperty", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"_super\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "basePrototype", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "Object", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "defineProperty", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"constructor\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "instanceMembers", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "staticMembers", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "mix", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// Defines a class using the given constructor and the union of the set of instance members", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// specified by all the mixin objects.  The mixin parameter list can be of variable length.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// The newly defined class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "i", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "arguments", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "length", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "len", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "i", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "initializeProperties", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "prototype", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "arguments", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "i", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Establish members of \"WinJS.Class\" namespace", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "WinJS", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Namespace", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "define", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"WinJS.Class\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "define", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "derive", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "derive", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "mix", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "mix", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")(", "color": "#dcdcdc" }, { "text": "WinJS", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "}", "color": "#dcdcdc" }, { "text": ")(", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "/*", "color": "#608b4e" } ], [ { "text": "  © Microsoft. All rights reserved.", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "  This library is supported for use in Windows Tailored Apps only.", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "  Build: 6.2.8100.0 ", "color": "#608b4e" } ], [ { "text": "  Version: 0.5 ", "color": "#608b4e" } ], [ { "text": "*/", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "(", "color": "#ffff00" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "global", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "undefined", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "\"use strict\"", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "undefinedVariable", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "undefinedVariable", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "prop", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "target", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "keys", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "keys", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "i", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "keys", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "length", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "key", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "keys", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "i", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "key", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "charCodeAt", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "!==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "/*_*/", "color": "#608b4e" }, { "text": "95", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "members", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "key", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "member", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "&&", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "===", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'object'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "member", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "value", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "undefined", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "get", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "===", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'function'", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "set", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "===", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'function'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "member", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "enumerable", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "===", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "undefined", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                        ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "enumerable", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "key", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "continue", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "!", "color": "#ffff00" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "key", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "configurable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "writable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "continue", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "target", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "key", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "member", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "properties", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "defineProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "target", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "properties", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "rootNamespace", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Create the rootNamespace in the global namespace", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "!", "color": "#ffff00" }, { "text": "global", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "rootNamespace", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "global", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "rootNamespace", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "create", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Cache the rootNamespace we just created in a local variable", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "_rootNamespace", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "global", "color": "#569cd6" }, { "text": "[", "color": "#ffff00" }, { "text": "rootNamespace", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "!", "color": "#ffff00" }, { "text": "_rootNamespace", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Namespace", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "_rootNamespace", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Namespace", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "create", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "defineWithParent", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "parentNamespace", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "name", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Defines a new namespace with the specified name, under the specified parent namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The parent namespace which will contain the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Name of the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Members in the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The newly defined namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "parentNamespace", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "namespaceFragments", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "name", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "split", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\".\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "namespaceFragments", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "length", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "namespaceName", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "namespaceFragments", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "i", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "!", "color": "#ffff00" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "namespaceName", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "defineProperty", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "namespaceName", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "                        ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "writable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "configurable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "namespaceName", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "currentNamespace", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "name", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Defines a new namespace with the specified name.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Name of the namespace.  This could be a dot-separated nested name.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Members in the new namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The newly defined namespace.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "defineWithParent", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "global", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "name", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "members", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Establish members of the \"WinJS.Namespace\" namespace", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "defineProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "_rootNamespace", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Namespace", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "defineWithParent", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "defineWithParent", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "writable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "writable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "enumerable", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")(", "color": "#ffff00" }, { "text": "\"WinJS\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "WinJS", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Defines a class using the given constructor and with the specified instance members.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The set of instance fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The set of static fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The newly defined class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "derive", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "baseClass", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Uses prototypal inheritance to create a sub-class based on the supplied baseClass parameter.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The class to inherit from.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The set of instance fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The set of static fields, properties and methods to be made available on the class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The newly defined class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "baseClass", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "basePrototype", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "baseClass", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "create", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "basePrototype", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "defineProperty", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"_super\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "basePrototype", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "Object", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "defineProperty", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"constructor\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "instanceMembers", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "staticMembers", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "mix", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// Defines a class using the given constructor and the union of the set of instance members", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// specified by all the mixin objects.  The mixin parameter list can be of variable length.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// A constructor function that will be used to instantiate this class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// The newly defined class.", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "/// ", "color": "#608b4e" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "i", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "arguments", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "length", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "len", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "i", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "initializeProperties", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "constructor", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "prototype", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "arguments", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "i", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Establish members of \"WinJS.Class\" namespace", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "WinJS", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Namespace", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "define", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"WinJS.Class\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "define", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "derive", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "derive", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "mix", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "mix", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")(", "color": "#ffff00" }, { "text": "WinJS", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" }, { "text": ")(", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ] ] } }, { "name": "sample - json", "language": "json", "result": { "vs": [ [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "\"type\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"team\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "\"test\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "\"testPage\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"tools/testing/run-tests.htm\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "\"enabled\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0451a5" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "\"search\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "\"excludeFolders\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\".git\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"node_modules\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/bin\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/counts\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/policheck\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/tfs_build_extensions\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/testing/jscoverage\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/testing/qunit\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"tools/testing/chutzpah\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"server.net\"", "color": "#a31515" } ], [ { "text": "        ", "color": "#000000" }, { "text": "]", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "\"languages\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "\"vs.languages.typescript\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"validationSettings\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"scope\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"/\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"noImplicitAny\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "true", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"noLib\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "false", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"extraLibs\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"semanticValidation\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "true", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"syntaxValidation\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "true", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"codeGenTarget\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"ES5\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"moduleGenTarget\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"lint\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"emptyBlocksWithoutComment\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"curlyBracketsMustNotBeOmitted\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"comparisonOperatorsNotStrict\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"missingSemicolon\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"unknownTypeOfResults\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"semicolonsInsteadOfBlocks\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"functionsInsideLoops\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"functionsWithoutReturnType\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"tripleSlashReferenceAlike\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"unusedImports\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"unusedVariables\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"unusedFunctions\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "\"unusedMembers\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"warning\"", "color": "#0451a5" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"scope\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"/client\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"baseUrl\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"/client\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"moduleGenTarget\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"amd\"", "color": "#0451a5" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"scope\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"/server\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"moduleGenTarget\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"commonjs\"", "color": "#0451a5" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"scope\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"/build\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"moduleGenTarget\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"commonjs\"", "color": "#0451a5" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"scope\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"/node_modules/nake\"", "color": "#0451a5" }, { "text": ",", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "\"moduleGenTarget\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": "\"commonjs\"", "color": "#0451a5" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "\"allowMultipleWorkers\"", "color": "#a31515" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0451a5" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "\"type\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"team\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "\"test\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "\"testPage\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"tools/testing/run-tests.htm\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "\"enabled\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#ce9178" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "\"search\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "\"excludeFolders\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\".git\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"node_modules\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/bin\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/counts\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/policheck\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/tfs_build_extensions\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/testing/jscoverage\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/testing/qunit\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"tools/testing/chutzpah\"", "color": "#9cdcfe" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"server.net\"", "color": "#9cdcfe" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "\"languages\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "\"vs.languages.typescript\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"validationSettings\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"/\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"noImplicitAny\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "true", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"noLib\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "false", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"extraLibs\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "[", "color": "#dcdcdc" }, { "text": "]", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"semanticValidation\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "true", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"syntaxValidation\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "true", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"codeGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"ES5\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"lint\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"emptyBlocksWithoutComment\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"curlyBracketsMustNotBeOmitted\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"comparisonOperatorsNotStrict\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"missingSemicolon\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"unknownTypeOfResults\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"semicolonsInsteadOfBlocks\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"functionsInsideLoops\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"functionsWithoutReturnType\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"tripleSlashReferenceAlike\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"unusedImports\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"unusedVariables\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"unusedFunctions\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "\"unusedMembers\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"warning\"", "color": "#ce9178" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"/client\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"baseUrl\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"/client\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"amd\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"/server\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"commonjs\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"/build\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"commonjs\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"/node_modules/nake\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": "\"commonjs\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "]", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "\"allowMultipleWorkers\"", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#ce9178" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "\"type\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"team\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "\"test\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "\"testPage\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"tools/testing/run-tests.htm\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "\"enabled\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "\"search\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "\"excludeFolders\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\".git\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"node_modules\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/bin\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/counts\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/policheck\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/tfs_build_extensions\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/testing/jscoverage\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/testing/qunit\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"tools/testing/chutzpah\"", "color": "#9cdcfe" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"server.net\"", "color": "#9cdcfe" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "\"languages\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "\"vs.languages.typescript\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"validationSettings\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"/\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"noImplicitAny\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"noLib\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "false", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"extraLibs\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "[", "color": "#ffff00" }, { "text": "]", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"semanticValidation\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"syntaxValidation\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "true", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"codeGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"ES5\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"lint\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"emptyBlocksWithoutComment\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"curlyBracketsMustNotBeOmitted\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"comparisonOperatorsNotStrict\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"missingSemicolon\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"unknownTypeOfResults\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"semicolonsInsteadOfBlocks\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"functionsInsideLoops\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"functionsWithoutReturnType\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"tripleSlashReferenceAlike\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"unusedImports\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"unusedVariables\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"unusedFunctions\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "\"unusedMembers\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"warning\"", "color": "#ce9178" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"/client\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"baseUrl\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"/client\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"amd\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"/server\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"commonjs\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"/build\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"commonjs\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"scope\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"/node_modules/nake\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "\"moduleGenTarget\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": "\"commonjs\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "]", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "\"allowMultipleWorkers\"", "color": "#9cdcfe" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ] ] } }, { "name": "sample - less", "language": "less", "result": { "vs": [ [ { "text": "@base", "color": "#001188" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "#f938ab", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".box-shadow", "color": "#800000" }, { "text": "(", "color": "#000000" }, { "text": "@style", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@c", "color": "#001188" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "when", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "iscolor", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "@c", "color": "#001188" }, { "text": "))", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-radius", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@style", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "@c", "color": "#001188" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".box-shadow", "color": "#800000" }, { "text": "(", "color": "#000000" }, { "text": "@style", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@alpha", "color": "#001188" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "50", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "when", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "isnumber", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "@alpha", "color": "#001188" }, { "text": "))", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".box-shadow", "color": "#800000" }, { "text": "(", "color": "#000000" }, { "text": "@style", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "rgba", "color": "#0451a5" }, { "text": "(", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@alpha", "color": "#001188" }, { "text": "))", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ".box", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "saturate", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "@base", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "lighten", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "@base", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "30", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "div", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": ".box-shadow", "color": "#800000" }, { "text": "((", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "30", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#header", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "h1", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-size", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "26", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "font-weight", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "bold", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "p", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "font-size", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "text-decoration", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "&", "color": "#800000" }, { "text": ":", "color": "#000000" }, { "text": "hover", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "border-width:", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "@the-border", "color": "#001188" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": "px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "@base-color", "color": "#001188" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "#111", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "@red", "color": "#001188" }, { "text": ":", "color": "#000000" }, { "text": "        ", "color": "#000000" }, { "text": "#842210", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#header", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "@base-color", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-left", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@the-border", "color": "#001188" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-right", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "@the-border", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#footer", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "color", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "@base-color", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "#003300", "color": "#0451a5" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "border-color", "color": "#ff0000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "desaturate", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "@red", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": "%", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "@base", "color": "#74b0df" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#f938ab", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".box-shadow", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@style", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@c", "color": "#74b0df" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "when", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "iscolor", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@c", "color": "#74b0df" }, { "text": "))", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-radius", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@style", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@c", "color": "#74b0df" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".box-shadow", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@style", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@alpha", "color": "#74b0df" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "50", "color": "#ce9178" }, { "text": "%", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "when", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "isnumber", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@alpha", "color": "#74b0df" }, { "text": "))", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".box-shadow", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@style", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "rgba", "color": "#ce9178" }, { "text": "(", "color": "#dcdcdc" }, { "text": "0", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@alpha", "color": "#74b0df" }, { "text": "))", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ".box", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "saturate", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@base", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#ce9178" }, { "text": "%", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "lighten", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@base", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "30", "color": "#ce9178" }, { "text": "%", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": ".box-shadow", "color": "#569cd6" }, { "text": "((", "color": "#dcdcdc" }, { "text": "0", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "5", "color": "#ce9178" }, { "text": "px", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "30", "color": "#ce9178" }, { "text": "%", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#header", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-size", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "26", "color": "#ce9178" }, { "text": "px", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "font-weight", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "bold", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "font-size", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12", "color": "#ce9178" }, { "text": "px", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "text-decoration", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "&", "color": "#569cd6" }, { "text": ":", "color": "#dcdcdc" }, { "text": "hover", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "border-width:", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#ce9178" }, { "text": "px", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "@the-border", "color": "#74b0df" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#ce9178" }, { "text": "px", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "@base-color", "color": "#74b0df" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#111", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "@red", "color": "#74b0df" }, { "text": ":", "color": "#dcdcdc" }, { "text": "        ", "color": "#d4d4d4" }, { "text": "#842210", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#header", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@base-color", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-left", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@the-border", "color": "#74b0df" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-right", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@the-border", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#footer", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "color", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@base-color", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "#003300", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "border-color", "color": "#9cdcfe" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "desaturate", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "@red", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#ce9178" }, { "text": "%", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "@base", "color": "#1aebff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "#f938ab", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".box-shadow", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@style", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@c", "color": "#1aebff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "when", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "iscolor", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@c", "color": "#1aebff" }, { "text": "))", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-radius", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@style", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "@c", "color": "#1aebff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".box-shadow", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@style", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@alpha", "color": "#1aebff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "50", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "when", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "isnumber", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@alpha", "color": "#1aebff" }, { "text": "))", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".box-shadow", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@style", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "rgba", "color": "#3ff23f" }, { "text": "(", "color": "#ffff00" }, { "text": "0", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@alpha", "color": "#1aebff" }, { "text": "))", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ".box", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "saturate", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@base", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "lighten", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@base", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "30", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "div", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": ".box-shadow", "color": "#569cd6" }, { "text": "((", "color": "#ffff00" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "5", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "30", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#header", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-size", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "26", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "font-weight", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "bold", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "p", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "font-size", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "12", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "text-decoration", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "&", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": "hover", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "border-width:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "@the-border", "color": "#1aebff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#3ff23f" }, { "text": "px", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "@base-color", "color": "#1aebff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "#111", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "@red", "color": "#1aebff" }, { "text": ":", "color": "#ffff00" }, { "text": "        ", "color": "#ffffff" }, { "text": "#842210", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#header", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "@base-color", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "3", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-left", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@the-border", "color": "#1aebff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-right", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "@the-border", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#footer", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "color", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "@base-color", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "#003300", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "border-color", "color": "#569cd6" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "desaturate", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "@red", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#3ff23f" }, { "text": "%", "color": "#3ff23f" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - lua", "language": "lua", "result": { "vs": [ [ { "text": "    ", "color": "#000000" }, { "text": "-- defines a factorial function", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "fact", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "n", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "n", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "then", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" } ], [ { "text": "      ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "n", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "fact", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "n", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "end", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "end", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "print", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"enter a number:\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "a", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "io", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "read", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"*number\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": "        ", "color": "#000000" }, { "text": "-- read a number", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "print", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "fact", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "a", "color": "#000000" }, { "text": "))", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "    ", "color": "#d4d4d4" }, { "text": "-- defines a factorial function", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "fact", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "n", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "n", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "then", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "n", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "fact", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "n", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "print", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"enter a number:\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "a", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "io", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "read", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"*number\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": "        ", "color": "#d4d4d4" }, { "text": "-- read a number", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "print", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "fact", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "a", "color": "#d4d4d4" }, { "text": "))", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "    ", "color": "#ffffff" }, { "text": "-- defines a factorial function", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "fact", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "n", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "n", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "then", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "n", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "fact", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "n", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "print", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"enter a number:\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "a", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "io", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "read", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"*number\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": "        ", "color": "#ffffff" }, { "text": "-- read a number", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "print", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "fact", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "a", "color": "#ffffff" }, { "text": "))", "color": "#ffff00" } ] ] } }, { "name": "sample - markdown", "language": "markdown", "result": { "vs": [ [ { "text": "# Header 1 #", "color": "#0000ff" } ], [ { "text": "## Header 2 ##", "color": "#0000ff" } ], [ { "text": "### Header 3 ###", "color": "#0000ff" }, { "text": "             (Hashes on right are optional)", "color": "#000000" } ], [ { "text": "## Markdown plus h2 with a custom ID ##", "color": "#0000ff" }, { "text": "   ", "color": "#000000" }, { "text": "{#id-goes-here}", "color": "#a31515" } ], [ { "text": "[", "color": "#a31515" }, { "text": "Link back to H2", "color": "#000000" }, { "text": "](#id-goes-here)", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "", "color": "#008000" } ], [ { "text": "", "color": "#800000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "
", "color": "#800000" } ], [ { "text": "    nested div", "color": "#a31515" } ], [ { "text": "  ", "color": "#000000" }, { "text": "
", "color": "#800000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#800000" } ], [ { "text": "    function( x: int ) { return x*x; }", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#800000" } ], [ { "text": "  This is a div ", "color": "#000000" }, { "text": "_with_", "color": "#000000" }, { "text": " underscores", "color": "#000000" } ], [ { "text": "  and a & ", "color": "#000000" }, { "text": "", "color": "#800000" }, { "text": "bold", "color": "#000000" }, { "text": "", "color": "#800000" }, { "text": " element.", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#800000" } ], [ { "text": "", "color": "#800000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "* ", "color": "#0000ff" }, { "text": "Bullet lists are easy too", "color": "#000000" } ], [ { "text": "- ", "color": "#0000ff" }, { "text": "Another one", "color": "#000000" } ], [ { "text": "+ ", "color": "#0000ff" }, { "text": "Another one", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "This is a paragraph, which is text surrounded by ", "color": "#000000" } ], [ { "text": "whitespace. Paragraphs can be on one ", "color": "#000000" } ], [ { "text": "line (or many), and can drone on for hours.  ", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "Now some inline markup like ", "color": "#000000" }, { "text": "_italics_", "color": "#000000" }, { "text": ",  ", "color": "#000000" }, { "text": "**bold**", "color": "#000000" }, { "text": ", ", "color": "#000000" } ], [ { "text": "and ", "color": "#000000" }, { "text": "`code()`", "color": "#001188" }, { "text": ". Note that underscores ", "color": "#000000" } ], [ { "text": "in_words_are ignored.", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "````application/json", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "{ value: [\"or with a mime type\"] }", "color": "#a31515" } ], [ { "text": "````", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": ">", "color": "#008000" }, { "text": " Blockquotes are like quoted text in email replies", "color": "#000000" } ], [ { "text": ">>", "color": "#008000" }, { "text": " And, they can be nested", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "1. ", "color": "#0000ff" }, { "text": "A numbered list", "color": "#000000" } ], [ { "text": "2. ", "color": "#0000ff" }, { "text": "Which is numbered", "color": "#000000" } ], [ { "text": "3. ", "color": "#0000ff" }, { "text": "With periods and a space", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "And now some code:", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    // Code is just text indented a bit", "color": "#a31515" } ], [ { "text": "    which(is_easy) to_remember();", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "And a block", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "~~~", "color": "#a31515" } ], [ { "text": "// Markdown extra adds un-indented code blocks too", "color": "#001188" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "if (this_is_more_code == true && !indented) {", "color": "#001188" } ], [ { "text": "    // tild wrapped code blocks, also not indented", "color": "#001188" } ], [ { "text": "}", "color": "#001188" } ], [ { "text": "~~~", "color": "#a31515" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "Text with  ", "color": "#000000" } ], [ { "text": "two trailing spaces  ", "color": "#000000" } ], [ { "text": "(on the right)  ", "color": "#000000" } ], [ { "text": "can be used  ", "color": "#000000" } ], [ { "text": "for things like poems  ", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "### Horizontal rules", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "* * * *", "color": "#000000" } ], [ { "text": "****", "color": "#000000" } ], [ { "text": "--------------------------", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "![", "color": "#a31515" }, { "text": "picture alt", "color": "#000000" }, { "text": "](/images/photo.jpeg \"Title is optional\")", "color": "#a31515" }, { "text": "     ", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "## Markdown plus tables ##", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "| Header | Header | Right  |", "color": "#000000" } ], [ { "text": "| ------ | ------ | -----: |", "color": "#000000" } ], [ { "text": "|  Cell  |  Cell  |   $10  |", "color": "#000000" } ], [ { "text": "|  Cell  |  Cell  |   $20  |", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "* ", "color": "#0000ff" }, { "text": "Outer pipes on tables are optional", "color": "#000000" } ], [ { "text": "* ", "color": "#0000ff" }, { "text": "Colon used for alignment (right versus left)", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "## Markdown plus definition lists ##", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "Bottled water", "color": "#000000" } ], [ { "text": ": ", "color": "#0000ff" }, { "text": "$ 1.25", "color": "#000000" } ], [ { "text": ": ", "color": "#0000ff" }, { "text": "$ 1.55 (Large)", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "Milk", "color": "#000000" } ], [ { "text": "Pop", "color": "#000000" } ], [ { "text": ": ", "color": "#0000ff" }, { "text": "$ 1.75", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "* ", "color": "#0000ff" }, { "text": "Multiple definitions and terms are possible", "color": "#000000" } ], [ { "text": "* ", "color": "#0000ff" }, { "text": "Definitions can include multiple paragraphs too", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "*", "color": "#000000" }, { "text": "[ABBR]", "color": "#a31515" }, { "text": ": Markdown plus abbreviations (produces an ", "color": "#000000" }, { "text": "", "color": "#800000" }, { "text": " tag)", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "# Header 1 #", "color": "#569cd6" } ], [ { "text": "## Header 2 ##", "color": "#569cd6" } ], [ { "text": "### Header 3 ###", "color": "#569cd6" }, { "text": "             (Hashes on right are optional)", "color": "#d4d4d4" } ], [ { "text": "## Markdown plus h2 with a custom ID ##", "color": "#569cd6" }, { "text": "   ", "color": "#d4d4d4" }, { "text": "{#id-goes-here}", "color": "#ce9178" } ], [ { "text": "[", "color": "#ce9178" }, { "text": "Link back to H2", "color": "#d4d4d4" }, { "text": "](#id-goes-here)", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "", "color": "#608b4e" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "
", "color": "#569cd6" } ], [ { "text": "    nested div", "color": "#ce9178" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "
", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#569cd6" } ], [ { "text": "    function( x: int ) { return x*x; }", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#569cd6" } ], [ { "text": "  This is a div ", "color": "#d4d4d4" }, { "text": "_with_", "color": "#d4d4d4" }, { "text": " underscores", "color": "#d4d4d4" } ], [ { "text": "  and a & ", "color": "#d4d4d4" }, { "text": "", "color": "#569cd6" }, { "text": "bold", "color": "#d4d4d4" }, { "text": "", "color": "#569cd6" }, { "text": " element.", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#569cd6" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Bullet lists are easy too", "color": "#d4d4d4" } ], [ { "text": "- ", "color": "#569cd6" }, { "text": "Another one", "color": "#d4d4d4" } ], [ { "text": "+ ", "color": "#569cd6" }, { "text": "Another one", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "This is a paragraph, which is text surrounded by ", "color": "#d4d4d4" } ], [ { "text": "whitespace. Paragraphs can be on one ", "color": "#d4d4d4" } ], [ { "text": "line (or many), and can drone on for hours.  ", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "Now some inline markup like ", "color": "#d4d4d4" }, { "text": "_italics_", "color": "#d4d4d4" }, { "text": ",  ", "color": "#d4d4d4" }, { "text": "**bold**", "color": "#d4d4d4" }, { "text": ", ", "color": "#d4d4d4" } ], [ { "text": "and ", "color": "#d4d4d4" }, { "text": "`code()`", "color": "#74b0df" }, { "text": ". Note that underscores ", "color": "#d4d4d4" } ], [ { "text": "in_words_are ignored.", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "````application/json", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "{ value: [\"or with a mime type\"] }", "color": "#ce9178" } ], [ { "text": "````", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": ">", "color": "#608b4e" }, { "text": " Blockquotes are like quoted text in email replies", "color": "#d4d4d4" } ], [ { "text": ">>", "color": "#608b4e" }, { "text": " And, they can be nested", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "1. ", "color": "#569cd6" }, { "text": "A numbered list", "color": "#d4d4d4" } ], [ { "text": "2. ", "color": "#569cd6" }, { "text": "Which is numbered", "color": "#d4d4d4" } ], [ { "text": "3. ", "color": "#569cd6" }, { "text": "With periods and a space", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "And now some code:", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    // Code is just text indented a bit", "color": "#ce9178" } ], [ { "text": "    which(is_easy) to_remember();", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "And a block", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "~~~", "color": "#ce9178" } ], [ { "text": "// Markdown extra adds un-indented code blocks too", "color": "#74b0df" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "if (this_is_more_code == true && !indented) {", "color": "#74b0df" } ], [ { "text": "    // tild wrapped code blocks, also not indented", "color": "#74b0df" } ], [ { "text": "}", "color": "#74b0df" } ], [ { "text": "~~~", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "Text with  ", "color": "#d4d4d4" } ], [ { "text": "two trailing spaces  ", "color": "#d4d4d4" } ], [ { "text": "(on the right)  ", "color": "#d4d4d4" } ], [ { "text": "can be used  ", "color": "#d4d4d4" } ], [ { "text": "for things like poems  ", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "### Horizontal rules", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "* * * *", "color": "#d4d4d4" } ], [ { "text": "****", "color": "#d4d4d4" } ], [ { "text": "--------------------------", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "![", "color": "#ce9178" }, { "text": "picture alt", "color": "#d4d4d4" }, { "text": "](/images/photo.jpeg \"Title is optional\")", "color": "#ce9178" }, { "text": "     ", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "## Markdown plus tables ##", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "| Header | Header | Right  |", "color": "#d4d4d4" } ], [ { "text": "| ------ | ------ | -----: |", "color": "#d4d4d4" } ], [ { "text": "|  Cell  |  Cell  |   $10  |", "color": "#d4d4d4" } ], [ { "text": "|  Cell  |  Cell  |   $20  |", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Outer pipes on tables are optional", "color": "#d4d4d4" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Colon used for alignment (right versus left)", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "## Markdown plus definition lists ##", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "Bottled water", "color": "#d4d4d4" } ], [ { "text": ": ", "color": "#569cd6" }, { "text": "$ 1.25", "color": "#d4d4d4" } ], [ { "text": ": ", "color": "#569cd6" }, { "text": "$ 1.55 (Large)", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "Milk", "color": "#d4d4d4" } ], [ { "text": "Pop", "color": "#d4d4d4" } ], [ { "text": ": ", "color": "#569cd6" }, { "text": "$ 1.75", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Multiple definitions and terms are possible", "color": "#d4d4d4" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Definitions can include multiple paragraphs too", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "*", "color": "#d4d4d4" }, { "text": "[ABBR]", "color": "#ce9178" }, { "text": ": Markdown plus abbreviations (produces an ", "color": "#d4d4d4" }, { "text": "", "color": "#569cd6" }, { "text": " tag)", "color": "#d4d4d4" } ] ], "hc_black": [ [ { "text": "# Header 1 #", "color": "#569cd6" } ], [ { "text": "## Header 2 ##", "color": "#569cd6" } ], [ { "text": "### Header 3 ###", "color": "#569cd6" }, { "text": "             (Hashes on right are optional)", "color": "#ffffff" } ], [ { "text": "## Markdown plus h2 with a custom ID ##", "color": "#569cd6" }, { "text": "   ", "color": "#ffffff" }, { "text": "{#id-goes-here}", "color": "#ce9178" } ], [ { "text": "[", "color": "#ce9178" }, { "text": "Link back to H2", "color": "#ffffff" }, { "text": "](#id-goes-here)", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "", "color": "#608b4e" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "
", "color": "#569cd6" } ], [ { "text": "    nested div", "color": "#ce9178" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "
", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#569cd6" } ], [ { "text": "    function( x: int ) { return x*x; }", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#569cd6" } ], [ { "text": "  This is a div ", "color": "#ffffff" }, { "text": "_with_", "color": "#ffffff" }, { "text": " underscores", "color": "#ffffff" } ], [ { "text": "  and a & ", "color": "#ffffff" }, { "text": "", "color": "#569cd6" }, { "text": "bold", "color": "#ffffff" }, { "text": "", "color": "#569cd6" }, { "text": " element.", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#569cd6" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Bullet lists are easy too", "color": "#ffffff" } ], [ { "text": "- ", "color": "#569cd6" }, { "text": "Another one", "color": "#ffffff" } ], [ { "text": "+ ", "color": "#569cd6" }, { "text": "Another one", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "This is a paragraph, which is text surrounded by ", "color": "#ffffff" } ], [ { "text": "whitespace. Paragraphs can be on one ", "color": "#ffffff" } ], [ { "text": "line (or many), and can drone on for hours.  ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "Now some inline markup like ", "color": "#ffffff" }, { "text": "_italics_", "color": "#ffffff" }, { "text": ",  ", "color": "#ffffff" }, { "text": "**bold**", "color": "#ffffff" }, { "text": ", ", "color": "#ffffff" } ], [ { "text": "and ", "color": "#ffffff" }, { "text": "`code()`", "color": "#1aebff" }, { "text": ". Note that underscores ", "color": "#ffffff" } ], [ { "text": "in_words_are ignored.", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "````application/json", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "{ value: [\"or with a mime type\"] }", "color": "#ce9178" } ], [ { "text": "````", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": ">", "color": "#608b4e" }, { "text": " Blockquotes are like quoted text in email replies", "color": "#ffffff" } ], [ { "text": ">>", "color": "#608b4e" }, { "text": " And, they can be nested", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "1. ", "color": "#569cd6" }, { "text": "A numbered list", "color": "#ffffff" } ], [ { "text": "2. ", "color": "#569cd6" }, { "text": "Which is numbered", "color": "#ffffff" } ], [ { "text": "3. ", "color": "#569cd6" }, { "text": "With periods and a space", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "And now some code:", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    // Code is just text indented a bit", "color": "#ce9178" } ], [ { "text": "    which(is_easy) to_remember();", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "And a block", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "~~~", "color": "#ce9178" } ], [ { "text": "// Markdown extra adds un-indented code blocks too", "color": "#1aebff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "if (this_is_more_code == true && !indented) {", "color": "#1aebff" } ], [ { "text": "    // tild wrapped code blocks, also not indented", "color": "#1aebff" } ], [ { "text": "}", "color": "#1aebff" } ], [ { "text": "~~~", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "Text with  ", "color": "#ffffff" } ], [ { "text": "two trailing spaces  ", "color": "#ffffff" } ], [ { "text": "(on the right)  ", "color": "#ffffff" } ], [ { "text": "can be used  ", "color": "#ffffff" } ], [ { "text": "for things like poems  ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "### Horizontal rules", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "* * * *", "color": "#d4d4d4" } ], [ { "text": "****", "color": "#d4d4d4" } ], [ { "text": "--------------------------", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "![", "color": "#ce9178" }, { "text": "picture alt", "color": "#ffffff" }, { "text": "](/images/photo.jpeg \"Title is optional\")", "color": "#ce9178" }, { "text": "     ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "## Markdown plus tables ##", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "| Header | Header | Right  |", "color": "#ffffff" } ], [ { "text": "| ------ | ------ | -----: |", "color": "#ffffff" } ], [ { "text": "|  Cell  |  Cell  |   $10  |", "color": "#ffffff" } ], [ { "text": "|  Cell  |  Cell  |   $20  |", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Outer pipes on tables are optional", "color": "#ffffff" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Colon used for alignment (right versus left)", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "## Markdown plus definition lists ##", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "Bottled water", "color": "#ffffff" } ], [ { "text": ": ", "color": "#569cd6" }, { "text": "$ 1.25", "color": "#ffffff" } ], [ { "text": ": ", "color": "#569cd6" }, { "text": "$ 1.55 (Large)", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "Milk", "color": "#ffffff" } ], [ { "text": "Pop", "color": "#ffffff" } ], [ { "text": ": ", "color": "#569cd6" }, { "text": "$ 1.75", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Multiple definitions and terms are possible", "color": "#ffffff" } ], [ { "text": "* ", "color": "#569cd6" }, { "text": "Definitions can include multiple paragraphs too", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "*", "color": "#ffffff" }, { "text": "[ABBR]", "color": "#ce9178" }, { "text": ": Markdown plus abbreviations (produces an ", "color": "#ffffff" }, { "text": "", "color": "#569cd6" }, { "text": " tag)", "color": "#ffffff" } ] ] } }, { "name": "sample - objective-c", "language": "objective-c", "result": { "vs": [ [ { "text": "//", "color": "#008000" } ], [ { "text": "//  Copyright (c) Microsoft Corporation. All rights reserved.", "color": "#008000" } ], [ { "text": "//", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "UseQuotes.h", "color": "#a31515" }, { "text": "\"", "color": "#a31515" } ], [ { "text": "#import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "Use", "color": "#000000" }, { "text": "/", "color": "#000000" }, { "text": "GTLT", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "h", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/*", "color": "#008000" } ], [ { "text": "    Multi ", "color": "#008000" } ], [ { "text": "    Line", "color": "#008000" } ], [ { "text": "    Comments ", "color": "#008000" } ], [ { "text": "*/", "color": "#008000" } ], [ { "text": "@implementation", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Test", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "void", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "applicationWillFinishLaunching", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "NSNotification", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": "notification", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "IBAction", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": "onSelectInput", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "id", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": "sender", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "NSString", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "defaultDir", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NSSearchPathForDirectoriesInDomains", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "NSDocumentDirectory", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NSUserDomainMask", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "NSOpenPanel", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "panel", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "NSOpenPanel", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "openPanel", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "panel", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "setAllowedFileTypes", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "[[", "color": "#000000" }, { "text": "NSArray", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "alloc", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "initWithObjects", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "@", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "ipa", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "xcarchive", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "@", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "app", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "nil", "color": "#0000ff" }, { "text": "]]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "panel", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "beginWithCompletionHandler", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "^", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "NSInteger", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "result", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "         ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "result", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NSFileHandlingPanelOKButton", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "             ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "inputTextField", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "setStringValue", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "panel", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "URL", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "path", "color": "#000000" }, { "text": "]]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "YES", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "     ", "color": "#000000" }, { "text": "int", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "hex", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0xFEF1F0F", "color": "#3030c0" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "float", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ing", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "3.14", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "ing", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "3.14e0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "     ", "color": "#000000" }, { "text": "ing", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "31.4e-2", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "-", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "id", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "initWithParams", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "id", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "anObject", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "aHandler", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "withDeviceStateManager", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "id", "color": "#0000ff" }, { "text": "<", "color": "#000000" }, { "text": "anotherObject", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "deviceStateManager", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// add a tap gesture recognizer", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "UITapGestureRecognizer", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": "tapGesture", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[[", "color": "#000000" }, { "text": "UITapGestureRecognizer", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "alloc", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "initWithTarget", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "action", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "@selector", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "handleTap", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "NSMutableArray", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": "gestureRecognizers", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "NSMutableArray", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "array", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "gestureRecognizers", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "addObject", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "tapGesture", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "gestureRecognizers", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "addObjectsFromArray", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": "scnView", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "gestureRecognizers", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "scnView", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "gestureRecognizers", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "gestureRecognizers", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "tapGesture", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "nil", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "@end", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "//", "color": "#608b4e" } ], [ { "text": "//  Copyright (c) Microsoft Corporation. All rights reserved.", "color": "#608b4e" } ], [ { "text": "//", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "UseQuotes.h", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" } ], [ { "text": "#import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "Use", "color": "#d4d4d4" }, { "text": "/", "color": "#d4d4d4" }, { "text": "GTLT", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "h", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/*", "color": "#608b4e" } ], [ { "text": "    Multi ", "color": "#608b4e" } ], [ { "text": "    Line", "color": "#608b4e" } ], [ { "text": "    Comments ", "color": "#608b4e" } ], [ { "text": "*/", "color": "#608b4e" } ], [ { "text": "@implementation", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Test", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "void", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "applicationWillFinishLaunching", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "NSNotification", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": "notification", "color": "#d4d4d4" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "IBAction", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": "onSelectInput", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "id", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": "sender", "color": "#d4d4d4" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "NSString", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defaultDir", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSSearchPathForDirectoriesInDomains", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "NSDocumentDirectory", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSUserDomainMask", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": "[", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "NSOpenPanel", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "panel", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "NSOpenPanel", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "openPanel", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "panel", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "setAllowedFileTypes", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "[[", "color": "#dcdcdc" }, { "text": "NSArray", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "alloc", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "initWithObjects", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "@", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "ipa", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "xcarchive", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "app", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nil", "color": "#569cd6" }, { "text": "]]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "panel", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "beginWithCompletionHandler", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "^", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "NSInteger", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "result", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "         ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "result", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSFileHandlingPanelOKButton", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "             ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "self", "color": "#569cd6" }, { "text": ".", "color": "#d4d4d4" }, { "text": "inputTextField", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "setStringValue", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "[", "color": "#dcdcdc" }, { "text": "panel", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "URL", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "path", "color": "#d4d4d4" }, { "text": "]]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "YES", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "int", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "hex", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0xFEF1F0F", "color": "#5bb498" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "float", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ing", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3.14", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "ing", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3.14e0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "     ", "color": "#d4d4d4" }, { "text": "ing", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "31.4e-2", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "-", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "id", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "initWithParams", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "id", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "anObject", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "aHandler", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "withDeviceStateManager", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "(", "color": "#dcdcdc" }, { "text": "id", "color": "#569cd6" }, { "text": "<", "color": "#dcdcdc" }, { "text": "anotherObject", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "deviceStateManager", "color": "#d4d4d4" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// add a tap gesture recognizer", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "UITapGestureRecognizer", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": "tapGesture", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[[", "color": "#dcdcdc" }, { "text": "UITapGestureRecognizer", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "alloc", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "initWithTarget", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "self", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "action", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "@selector", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "handleTap", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "NSMutableArray", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": "gestureRecognizers", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "NSMutableArray", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "array", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "gestureRecognizers", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "addObject", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "tapGesture", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "gestureRecognizers", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "addObjectsFromArray", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": "scnView", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "gestureRecognizers", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "scnView", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "gestureRecognizers", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "gestureRecognizers", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "tapGesture", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nil", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "@end", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "//", "color": "#608b4e" } ], [ { "text": "//  Copyright (c) Microsoft Corporation. All rights reserved.", "color": "#608b4e" } ], [ { "text": "//", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "UseQuotes.h", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" } ], [ { "text": "#import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "Use", "color": "#ffffff" }, { "text": "/", "color": "#ffffff" }, { "text": "GTLT", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "h", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/*", "color": "#608b4e" } ], [ { "text": "    Multi ", "color": "#608b4e" } ], [ { "text": "    Line", "color": "#608b4e" } ], [ { "text": "    Comments ", "color": "#608b4e" } ], [ { "text": "*/", "color": "#608b4e" } ], [ { "text": "@implementation", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Test", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "void", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "applicationWillFinishLaunching", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "NSNotification", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": "notification", "color": "#ffffff" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "IBAction", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": "onSelectInput", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "id", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": "sender", "color": "#ffffff" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "NSString", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "defaultDir", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "NSSearchPathForDirectoriesInDomains", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "NSDocumentDirectory", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "NSUserDomainMask", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": "[", "color": "#ffff00" }, { "text": "0", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "NSOpenPanel", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "panel", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "NSOpenPanel", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "openPanel", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "panel", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "setAllowedFileTypes", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "[[", "color": "#ffff00" }, { "text": "NSArray", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "alloc", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "initWithObjects", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "@", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "ipa", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "xcarchive", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "@", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "app", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "nil", "color": "#569cd6" }, { "text": "]]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "panel", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "beginWithCompletionHandler", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "^", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "NSInteger", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "result", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "         ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "result", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "NSFileHandlingPanelOKButton", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "             ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "self", "color": "#569cd6" }, { "text": ".", "color": "#ffffff" }, { "text": "inputTextField", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "setStringValue", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "[", "color": "#ffff00" }, { "text": "panel", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "URL", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "path", "color": "#ffffff" }, { "text": "]]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "YES", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "int", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "hex", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "0xFEF1F0F", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "float", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ing", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "3.14", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "ing", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "3.14e0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "     ", "color": "#ffffff" }, { "text": "ing", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "31.4e-2", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "-", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "id", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "initWithParams", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "id", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "anObject", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "aHandler", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "withDeviceStateManager", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "(", "color": "#ffff00" }, { "text": "id", "color": "#569cd6" }, { "text": "<", "color": "#ffff00" }, { "text": "anotherObject", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "deviceStateManager", "color": "#ffffff" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// add a tap gesture recognizer", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "UITapGestureRecognizer", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": "tapGesture", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[[", "color": "#ffff00" }, { "text": "UITapGestureRecognizer", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "alloc", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "initWithTarget", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "self", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "action", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "@selector", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "handleTap", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "NSMutableArray", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": "gestureRecognizers", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "NSMutableArray", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "array", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "gestureRecognizers", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "addObject", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "tapGesture", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "gestureRecognizers", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "addObjectsFromArray", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": "scnView", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "gestureRecognizers", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "scnView", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "gestureRecognizers", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "gestureRecognizers", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "tapGesture", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "nil", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "@end", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - php", "language": "php", "result": { "vs": [ [ { "text": "", "color": "#e00000" } ], [ { "text": "<", "color": "#383838" }, { "text": "html", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "<", "color": "#383838" }, { "text": "head", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "title", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Example page", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "body", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "script", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text/javascript\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Some PHP embedded inside JS", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// Generated ", "color": "#008000" }, { "text": "", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "server_token", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "typeof", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "server_token", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "===", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'number'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "alert", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'token: '", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "server_token", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "<", "color": "#383838" }, { "text": "div", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "Hello", "color": "#000000" } ], [ { "text": "", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "b", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "", "color": "#e00000" }, { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "i", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "guest", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#e00000" } ], [ { "text": "!", "color": "#000000" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "// display shuffled cards (EXAMPLE ONLY)", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "$index", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$index", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "52", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$index", "color": "#001188" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "$starting_point", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "52", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$starting_point", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "print", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "\"Uncut Point: $deck[$index] \"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "print", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "\"Starting Point: $deck[$starting_point]
\"", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$starting_point", "color": "#001188" }, { "text": "++;", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "?>", "color": "#e00000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ] ], "vs_dark": [ [ { "text": "", "color": "#dd6a6f" } ], [ { "text": "<", "color": "#808080" }, { "text": "html", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "<", "color": "#808080" }, { "text": "head", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "title", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Example page", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "body", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "script", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text/javascript\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Some PHP embedded inside JS", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// Generated ", "color": "#608b4e" }, { "text": "", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "server_token", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "server_token", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "===", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'number'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "alert", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'token: '", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "server_token", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "<", "color": "#808080" }, { "text": "div", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "Hello", "color": "#d4d4d4" } ], [ { "text": "", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "b", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "", "color": "#dd6a6f" }, { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "i", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "guest", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#dd6a6f" } ], [ { "text": "!", "color": "#d4d4d4" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "// display shuffled cards (EXAMPLE ONLY)", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$index", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$index", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "52", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$index", "color": "#74b0df" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$starting_point", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "52", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$starting_point", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "print", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"Uncut Point: $deck[$index] \"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "print", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"Starting Point: $deck[$starting_point]
\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$starting_point", "color": "#74b0df" }, { "text": "++;", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "?>", "color": "#dd6a6f" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ] ], "hc_black": [ [ { "text": "", "color": "#569cd6" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "html", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "head", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "title", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Example page", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "body", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "script", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text/javascript\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Some PHP embedded inside JS", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// Generated ", "color": "#608b4e" }, { "text": "", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "server_token", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "typeof", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "server_token", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "===", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'number'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "alert", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'token: '", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "server_token", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "div", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "Hello", "color": "#ffffff" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "b", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "", "color": "#569cd6" }, { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "i", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "guest", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "!", "color": "#ffffff" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "// display shuffled cards (EXAMPLE ONLY)", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "$index", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$index", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "52", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$index", "color": "#1aebff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "$starting_point", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "52", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$starting_point", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "print", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "\"Uncut Point: $deck[$index] \"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "print", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "\"Starting Point: $deck[$starting_point]
\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$starting_point", "color": "#1aebff" }, { "text": "++;", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "?>", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ] ] } }, { "name": "sample - postiats", "language": "postiats", "result": { "vs": [ [ { "text": "undefined", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "undefined", "color": "#d4d4d4" } ] ], "hc_black": [ [ { "text": "undefined", "color": "#ffffff" } ] ] } }, { "name": "sample - powershell", "language": "powershell", "result": { "vs": [ [ { "text": "$SelectedObjectNames", "color": "#001188" }, { "text": "=", "color": "#000000" }, { "text": "@", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "$XenCenterNodeSelected", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "#the object info array contains hashmaps, each of which represent a parameter set and describe a target in the XenCenter resource list", "color": "#008000" } ], [ { "text": "foreach", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "in", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "$ObjInfoArray", "color": "#001188" }, { "text": ")", "color": "#000000" } ], [ { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": "[", "color": "#000000" }, { "text": "\"class\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "eq ", "color": "#000000" }, { "text": "\"blank\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#When the XenCenter node is selected a parameter set is created for each of your connected servers with the class and objUuid keys marked as blank", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "$XenCenterNodeSelected", "color": "#001188" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "continue", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$XenCenterNodeSelected", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$SelectedObjectNames", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "+=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"XenCenter\"", "color": "#a31515" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "elseif", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": "[", "color": "#000000" }, { "text": "\"sessionRef\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "eq ", "color": "#000000" }, { "text": "\"null\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#When a disconnected server is selected there is no session information, we get null for everything except class", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$SelectedObjectNames", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "+=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"a disconnected server\"", "color": "#a31515" } ], [ { "text": "    ", "color": "#000000" }, { "text": "else", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        Connect-XenServer ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "url ", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": "[", "color": "#000000" }, { "text": "\"url\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "opaqueref ", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": "[", "color": "#000000" }, { "text": "\"sessionRef\"", "color": "#a31515" }, { "text": "]", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#Use $class to determine which server objects to get", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "#-properties allows us to filter the results to just include the selected object", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$exp", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Get-XenServer:{0} -properties @{{uuid='{1}'}}\"", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "f ", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": "[", "color": "#000000" }, { "text": "\"class\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$parameterSet", "color": "#001188" }, { "text": "[", "color": "#000000" }, { "text": "\"objUuid\"", "color": "#a31515" }, { "text": "]", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$obj", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " Invoke-Expression ", "color": "#000000" }, { "text": "$exp", "color": "#001188" } ], [ { "text": "        ", "color": "#000000" }, { "text": "$SelectedObjectNames", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "+=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$obj", "color": "#001188" }, { "text": ".", "color": "#000000" }, { "text": "name_label", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "$SelectedObjectNames", "color": "#74b0df" }, { "text": "=", "color": "#dcdcdc" }, { "text": "@", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "$XenCenterNodeSelected", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "#the object info array contains hashmaps, each of which represent a parameter set and describe a target in the XenCenter resource list", "color": "#608b4e" } ], [ { "text": "foreach", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "in", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$ObjInfoArray", "color": "#74b0df" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"class\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "eq ", "color": "#d4d4d4" }, { "text": "\"blank\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#When the XenCenter node is selected a parameter set is created for each of your connected servers with the class and objUuid keys marked as blank", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$XenCenterNodeSelected", "color": "#74b0df" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "continue", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$XenCenterNodeSelected", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$SelectedObjectNames", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"XenCenter\"", "color": "#ce9178" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "elseif", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"sessionRef\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "eq ", "color": "#d4d4d4" }, { "text": "\"null\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#When a disconnected server is selected there is no session information, we get null for everything except class", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$SelectedObjectNames", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"a disconnected server\"", "color": "#ce9178" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        Connect-XenServer ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "url ", "color": "#d4d4d4" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"url\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "opaqueref ", "color": "#d4d4d4" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"sessionRef\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#Use $class to determine which server objects to get", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "#-properties allows us to filter the results to just include the selected object", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$exp", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Get-XenServer:{0} -properties @{{uuid='{1}'}}\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "f ", "color": "#d4d4d4" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"class\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$parameterSet", "color": "#74b0df" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"objUuid\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$obj", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " Invoke-Expression ", "color": "#d4d4d4" }, { "text": "$exp", "color": "#74b0df" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "$SelectedObjectNames", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$obj", "color": "#74b0df" }, { "text": ".", "color": "#dcdcdc" }, { "text": "name_label", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "$SelectedObjectNames", "color": "#1aebff" }, { "text": "=", "color": "#ffff00" }, { "text": "@", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "$XenCenterNodeSelected", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "#the object info array contains hashmaps, each of which represent a parameter set and describe a target in the XenCenter resource list", "color": "#608b4e" } ], [ { "text": "foreach", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "in", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "$ObjInfoArray", "color": "#1aebff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"class\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "eq ", "color": "#ffffff" }, { "text": "\"blank\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#When the XenCenter node is selected a parameter set is created for each of your connected servers with the class and objUuid keys marked as blank", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "$XenCenterNodeSelected", "color": "#1aebff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "continue", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$XenCenterNodeSelected", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$SelectedObjectNames", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "+=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"XenCenter\"", "color": "#ce9178" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "elseif", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"sessionRef\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "eq ", "color": "#ffffff" }, { "text": "\"null\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#When a disconnected server is selected there is no session information, we get null for everything except class", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$SelectedObjectNames", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "+=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"a disconnected server\"", "color": "#ce9178" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        Connect-XenServer ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "url ", "color": "#ffffff" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"url\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "opaqueref ", "color": "#ffffff" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"sessionRef\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#Use $class to determine which server objects to get", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "#-properties allows us to filter the results to just include the selected object", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$exp", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Get-XenServer:{0} -properties @{{uuid='{1}'}}\"", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "f ", "color": "#ffffff" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"class\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$parameterSet", "color": "#1aebff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"objUuid\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$obj", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " Invoke-Expression ", "color": "#ffffff" }, { "text": "$exp", "color": "#1aebff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "$SelectedObjectNames", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "+=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$obj", "color": "#1aebff" }, { "text": ".", "color": "#ffff00" }, { "text": "name_label", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ] ] } }, { "name": "sample - python", "language": "python", "result": { "vs": [ [ { "text": "from", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "banana", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Monkey", "color": "#000000" }, { "text": ":", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "# Bananas the monkey can eat.", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "capacity", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" } ], [ { "text": "    ", "color": "#000000" }, { "text": "def", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "eat", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "N", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ":", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "'''Make the monkey eat N bananas!'''", "color": "#a31515" } ], [ { "text": "        ", "color": "#000000" }, { "text": "capacity", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "capacity", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "N", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": "banana", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "size", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "def", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "feeding_frenzy", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": ":", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "eat", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "9.25", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "Yum yum", "color": "#a31515" }, { "text": "\"", "color": "#a31515" } ] ], "vs_dark": [ [ { "text": "from", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "banana", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Monkey", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "# Bananas the monkey can eat.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "capacity", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "def", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "eat", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "self", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "N", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ":", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "'''Make the monkey eat N bananas!'''", "color": "#ce9178" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "capacity", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "capacity", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "N", "color": "#d4d4d4" }, { "text": "*", "color": "#d4d4d4" }, { "text": "banana", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "size", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "def", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "feeding_frenzy", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "self", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": ":", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "eat", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "9.25", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "Yum yum", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" } ] ], "hc_black": [ [ { "text": "from", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "banana", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Monkey", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "# Bananas the monkey can eat.", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "capacity", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "def", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "eat", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "self", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "N", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ":", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "'''Make the monkey eat N bananas!'''", "color": "#ce9178" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "capacity", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "capacity", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "N", "color": "#ffffff" }, { "text": "*", "color": "#ffffff" }, { "text": "banana", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "size", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "def", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "feeding_frenzy", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "self", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": ":", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "eat", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "9.25", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "Yum yum", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" } ] ] } }, { "name": "sample - r", "language": "r", "result": { "vs": [ [ { "text": "# © Microsoft. All rights reserved.", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#' Add together two numbers.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@param", "color": "#800000" }, { "text": " x A number.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@param", "color": "#800000" }, { "text": " y A number.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@return", "color": "#800000" }, { "text": " The sum of \\code{x} and \\code{y}.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@examples", "color": "#800000" } ], [ { "text": "#' add(1, 1)", "color": "#008000" } ], [ { "text": "#' add(10, 1)", "color": "#008000" } ], [ { "text": "add", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "x", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "y", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "x", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "y", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1.0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2.0", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "-1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-2", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "-1.0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-2.0", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": "add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1.0e10", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2.0e10", "color": "#09885a" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "#' Concatenate together two strings.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@param", "color": "#800000" }, { "text": " x A string.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@param", "color": "#800000" }, { "text": " y A string.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@return", "color": "#800000" }, { "text": " The concatenated string built of \\code{x} and \\code{y}.", "color": "#008000" } ], [ { "text": "#' ", "color": "#008000" }, { "text": "@examples", "color": "#800000" } ], [ { "text": "#' strcat(\"one\", \"two\")", "color": "#008000" } ], [ { "text": "strcat", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "function", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "x", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "y", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "paste", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "x", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "y", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "paste", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "one", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "two", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "paste", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'", "color": "#a31515" }, { "text": "one", "color": "#a31515" }, { "text": "'", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'", "color": "#a31515" }, { "text": "two", "color": "#a31515" }, { "text": "'", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "paste", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "NULL", "color": "#dd0000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NULL", "color": "#dd0000" }, { "text": ")", "color": "#000000" } ], [ { "text": "paste", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "NA", "color": "#dd0000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NA", "color": "#dd0000" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "paste", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "multi-", "color": "#a31515" } ], [ { "text": "      line", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "'", "color": "#a31515" }, { "text": "multi-", "color": "#a31515" } ], [ { "text": "      line", "color": "#a31515" }, { "text": "'", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "# © Microsoft. All rights reserved.", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#' Add together two numbers.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " x A number.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " y A number.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@return", "color": "#569cd6" }, { "text": " The sum of \\code{x} and \\code{y}.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@examples", "color": "#569cd6" } ], [ { "text": "#' add(1, 1)", "color": "#608b4e" } ], [ { "text": "#' add(10, 1)", "color": "#608b4e" } ], [ { "text": "add", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "x", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "y", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "x", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "y", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1.0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2.0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "-1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-2", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "-1.0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-2.0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1.0e10", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2.0e10", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "#' Concatenate together two strings.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " x A string.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " y A string.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@return", "color": "#569cd6" }, { "text": " The concatenated string built of \\code{x} and \\code{y}.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@examples", "color": "#569cd6" } ], [ { "text": "#' strcat(\"one\", \"two\")", "color": "#608b4e" } ], [ { "text": "strcat", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "function", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "x", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "y", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "paste", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "x", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "y", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "paste", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"", "color": "#ce9178" }, { "text": "one", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "two", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "paste", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'", "color": "#ce9178" }, { "text": "one", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'", "color": "#ce9178" }, { "text": "two", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "paste", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "NULL", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NULL", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "paste", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "NA", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NA", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "paste", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"", "color": "#ce9178" }, { "text": "multi-", "color": "#ce9178" } ], [ { "text": "      line", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "'", "color": "#ce9178" }, { "text": "multi-", "color": "#ce9178" } ], [ { "text": "      line", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "# © Microsoft. All rights reserved.", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#' Add together two numbers.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " x A number.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " y A number.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@return", "color": "#569cd6" }, { "text": " The sum of \\code{x} and \\code{y}.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@examples", "color": "#569cd6" } ], [ { "text": "#' add(1, 1)", "color": "#608b4e" } ], [ { "text": "#' add(10, 1)", "color": "#608b4e" } ], [ { "text": "add", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "x", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "y", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "x", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "y", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1.0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "2.0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "-1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-2", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "-1.0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-2.0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1.0e10", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "2.0e10", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "#' Concatenate together two strings.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " x A string.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@param", "color": "#569cd6" }, { "text": " y A string.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@return", "color": "#569cd6" }, { "text": " The concatenated string built of \\code{x} and \\code{y}.", "color": "#608b4e" } ], [ { "text": "#' ", "color": "#608b4e" }, { "text": "@examples", "color": "#569cd6" } ], [ { "text": "#' strcat(\"one\", \"two\")", "color": "#608b4e" } ], [ { "text": "strcat", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "function", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "x", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "y", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "paste", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "x", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "y", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "paste", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"", "color": "#ce9178" }, { "text": "one", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "two", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "paste", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'", "color": "#ce9178" }, { "text": "one", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'", "color": "#ce9178" }, { "text": "two", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "paste", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "NULL", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "NULL", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "paste", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "NA", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "NA", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "paste", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"", "color": "#ce9178" }, { "text": "multi-", "color": "#ce9178" } ], [ { "text": "      line", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "'", "color": "#ce9178" }, { "text": "multi-", "color": "#ce9178" } ], [ { "text": "      line", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - razor", "language": "razor", "result": { "vs": [ [ { "text": "@{", "color": "#e00000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "total", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "totalMessage", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"\"", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "@* a multiline", "color": "#008000" } ], [ { "text": "      razor comment embedded in csharp *@", "color": "#008000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "IsPost", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Retrieve the numbers that the user entered.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "num1", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Request", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "\"text1\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "num2", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Request", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "\"text2\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Convert the entered strings into integers numbers and add.", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "total", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "num1", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "AsInt", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "num2", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "AsInt", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "italic", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "<", "color": "#383838" }, { "text": "bold", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "totalMessage", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Total = \"", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "total", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": "", "color": "#383838" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#e00000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "", "color": "#808080" } ], [ { "text": "<", "color": "#383838" }, { "text": "html", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "lang", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"en\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "head", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "title", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Add Numbers", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "meta", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "charset", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"utf-8\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "/>", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "<", "color": "#383838" }, { "text": "body", "color": "#800000" }, { "text": ">", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "p", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Enter two whole numbers and then click ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "strong", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "Add", "color": "#000000" }, { "text": "", "color": "#383838" }, { "text": ".", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "form", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "action", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "method", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"post\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "p", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "<", "color": "#383838" }, { "text": "label", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "for", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text1\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" }, { "text": "First Number:", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "      ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "input", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "name", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text1\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "/>", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "p", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "<", "color": "#383838" }, { "text": "label", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "for", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text2\"", "color": "#0451a5" }, { "text": ">", "color": "#383838" }, { "text": "Second Number:", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "      ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "input", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "name", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"text2\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "/>", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "p", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "<", "color": "#383838" }, { "text": "input", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "type", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"submit\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "value", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"Add\"", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "/>", "color": "#383838" }, { "text": "", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "@* now we call the totalMessage method ", "color": "#008000" } ], [ { "text": "       (a multi line razor comment outside code) *@", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "p", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "@", "color": "#e00000" }, { "text": "totalMessage", "color": "#000000" }, { "text": "", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#383838" }, { "text": "p", "color": "#800000" }, { "text": ">", "color": "#383838" }, { "text": "@(", "color": "#e00000" }, { "text": "totalMessage", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": "\"!\"", "color": "#a31515" }, { "text": ")", "color": "#e00000" }, { "text": "", "color": "#383838" } ], [ { "text": "  ", "color": "#000000" } ], [ { "text": "  An email address (with escaped at character): name@@domain.com", "color": "#000000" } ], [ { "text": " ", "color": "#000000" } ], [ { "text": "", "color": "#383838" } ], [ { "text": "", "color": "#383838" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "@{", "color": "#dd6a6f" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "total", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "totalMessage", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"\"", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "@* a multiline", "color": "#608b4e" } ], [ { "text": "      razor comment embedded in csharp *@", "color": "#608b4e" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "IsPost", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Retrieve the numbers that the user entered.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "num1", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Request", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"text1\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "num2", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Request", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"text2\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Convert the entered strings into integers numbers and add.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "total", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "num1", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "AsInt", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "num2", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "AsInt", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "italic", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "<", "color": "#808080" }, { "text": "bold", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "totalMessage", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Total = \"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "total", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": "", "color": "#808080" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dd6a6f" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "<", "color": "#808080" }, { "text": "html", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "lang", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"en\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "head", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "title", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Add Numbers", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "meta", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "charset", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"utf-8\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/>", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "<", "color": "#808080" }, { "text": "body", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Enter two whole numbers and then click ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "strong", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "", "color": "#808080" }, { "text": ".", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "form", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "action", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "method", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"post\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "<", "color": "#808080" }, { "text": "label", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "for", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text1\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" }, { "text": "First Number:", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "name", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text1\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/>", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "<", "color": "#808080" }, { "text": "label", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "for", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text2\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" }, { "text": "Second Number:", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "name", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"text2\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/>", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "<", "color": "#808080" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "type", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"submit\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "value", "color": "#9cdcfe" }, { "text": "=", "color": "#dcdcdc" }, { "text": "\"Add\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/>", "color": "#808080" }, { "text": "", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "@* now we call the totalMessage method ", "color": "#608b4e" } ], [ { "text": "       (a multi line razor comment outside code) *@", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "@", "color": "#dd6a6f" }, { "text": "totalMessage", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#808080" }, { "text": "@(", "color": "#dd6a6f" }, { "text": "totalMessage", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": "\"!\"", "color": "#ce9178" }, { "text": ")", "color": "#dd6a6f" }, { "text": "", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "  An email address (with escaped at character): name@@domain.com", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#d4d4d4" } ], [ { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "@{", "color": "#569cd6" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "total", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "totalMessage", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"\"", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "@* a multiline", "color": "#608b4e" } ], [ { "text": "      razor comment embedded in csharp *@", "color": "#608b4e" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "IsPost", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Retrieve the numbers that the user entered.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "num1", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Request", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"text1\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "num2", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Request", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"text2\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Convert the entered strings into integers numbers and add.", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "total", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "num1", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "AsInt", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "num2", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "AsInt", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "italic", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "<", "color": "#ffff00" }, { "text": "bold", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "totalMessage", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Total = \"", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "total", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": "", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "", "color": "#569cd6" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "html", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "lang", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"en\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "head", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "title", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Add Numbers", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "meta", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "charset", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"utf-8\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "/>", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "body", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Enter two whole numbers and then click ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "strong", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "", "color": "#ffff00" }, { "text": ".", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "form", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "action", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "method", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"post\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "<", "color": "#ffff00" }, { "text": "label", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text1\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" }, { "text": "First Number:", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "name", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text1\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "/>", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "<", "color": "#ffff00" }, { "text": "label", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text2\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" }, { "text": "Second Number:", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "name", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"text2\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "/>", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "<", "color": "#ffff00" }, { "text": "input", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "type", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"submit\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "value", "color": "#569cd6" }, { "text": "=", "color": "#ffff00" }, { "text": "\"Add\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "/>", "color": "#ffff00" }, { "text": "", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "@* now we call the totalMessage method ", "color": "#608b4e" } ], [ { "text": "       (a multi line razor comment outside code) *@", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "@", "color": "#569cd6" }, { "text": "totalMessage", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "p", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" }, { "text": "@(", "color": "#569cd6" }, { "text": "totalMessage", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": "\"!\"", "color": "#ce9178" }, { "text": ")", "color": "#569cd6" }, { "text": "", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" } ], [ { "text": "  An email address (with escaped at character): name@@domain.com", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - ruby", "language": "ruby", "result": { "vs": [ [ { "text": "#-------------------------------------------------------------------------", "color": "#008000" } ], [ { "text": "# Copyright (c) Microsoft. All rights reserved.", "color": "#008000" } ], [ { "text": "#--------------------------------------------------------------------------", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "module", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Azure", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "module", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Blob", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Blob", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "def", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "initialize", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "@properties", "color": "#000000" }, { "text": " = ", "color": "#000000" }, { "text": "{}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "@metadata", "color": "#000000" }, { "text": " = ", "color": "#000000" }, { "text": "{}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "yield", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "block_given?", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "end", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "      ", "color": "#000000" }, { "text": "attr_accessor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":name", "color": "#a31515" } ], [ { "text": "      ", "color": "#000000" }, { "text": "attr_accessor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":snapshot", "color": "#a31515" } ], [ { "text": "      ", "color": "#000000" }, { "text": "attr_accessor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":properties", "color": "#a31515" } ], [ { "text": "      ", "color": "#000000" }, { "text": "attr_accessor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":metadata", "color": "#a31515" } ], [ { "text": "    ", "color": "#000000" }, { "text": "end", "color": "#0000ff" } ], [ { "text": "  ", "color": "#000000" }, { "text": "end", "color": "#0000ff" } ], [ { "text": "end", "color": "#0000ff" } ] ], "vs_dark": [ [ { "text": "#-------------------------------------------------------------------------", "color": "#608b4e" } ], [ { "text": "# Copyright (c) Microsoft. All rights reserved.", "color": "#608b4e" } ], [ { "text": "#--------------------------------------------------------------------------", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "module", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Azure", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "module", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Blob", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Blob", "color": "#d4d4d4" } ], [ { "text": "      ", "color": "#d4d4d4" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "def", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "initialize", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "@properties", "color": "#d4d4d4" }, { "text": " = ", "color": "#d4d4d4" }, { "text": "{}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "@metadata", "color": "#d4d4d4" }, { "text": " = ", "color": "#d4d4d4" }, { "text": "{}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "yield", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "self", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block_given?", "color": "#d4d4d4" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "end", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "attr_accessor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":name", "color": "#ce9178" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "attr_accessor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":snapshot", "color": "#ce9178" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "attr_accessor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":properties", "color": "#ce9178" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "attr_accessor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":metadata", "color": "#ce9178" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "end", "color": "#569cd6" } ] ], "hc_black": [ [ { "text": "#-------------------------------------------------------------------------", "color": "#608b4e" } ], [ { "text": "# Copyright (c) Microsoft. All rights reserved.", "color": "#608b4e" } ], [ { "text": "#--------------------------------------------------------------------------", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "module", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Azure", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "module", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Blob", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Blob", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "def", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "initialize", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "@properties", "color": "#ffffff" }, { "text": " = ", "color": "#ffffff" }, { "text": "{}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "@metadata", "color": "#ffffff" }, { "text": " = ", "color": "#ffffff" }, { "text": "{}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "yield", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "self", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block_given?", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "end", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "attr_accessor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":name", "color": "#ce9178" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "attr_accessor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":snapshot", "color": "#ce9178" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "attr_accessor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":properties", "color": "#ce9178" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "attr_accessor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":metadata", "color": "#ce9178" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "end", "color": "#569cd6" } ], [ { "text": "end", "color": "#569cd6" } ] ] } }, { "name": "sample - scss", "language": "scss", "result": { "vs": [ [ { "text": "$baseFontSizeInPixels:", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "14", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "@function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "px2em (", "color": "#800000" }, { "text": "$font_size", "color": "#001188" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$base_font_size:", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "$baseFontSizeInPixels", "color": "#001188" }, { "text": ")", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": "  ", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "@return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "$font_size", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "/", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "$base_font_size", "color": "#001188" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "em", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "h1", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "px2em(", "color": "#800000" }, { "text": "36", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$baseFontSizeInPixels", "color": "#001188" }, { "text": ")", "color": "#800000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": "h2", "color": "#800000" }, { "text": "  ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "px2em(", "color": "#800000" }, { "text": "28", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$baseFontSizeInPixels", "color": "#001188" }, { "text": ")", "color": "#800000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": ".class", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "font-size:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "px2em(", "color": "#800000" }, { "text": "14", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "$baseFontSizeInPixels", "color": "#001188" }, { "text": ")", "color": "#800000" }, { "text": ";", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "nav", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "ul", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "margin:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "list-style:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "  ", "color": "#000000" }, { "text": "li", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "inline-block", "color": "#0451a5" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "  ", "color": "#000000" }, { "text": "a", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "display:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "block", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "padding:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "6px", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "12px", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "text-decoration:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "none", "color": "#0451a5" }, { "text": ";", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "@each", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "$animal", "color": "#001188" }, { "text": " ", "color": "#000000" }, { "text": "in", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "puma", "color": "#0451a5" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "sea-slug", "color": "#0451a5" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "egret", "color": "#0451a5" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "salamander", "color": "#0451a5" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": ".", "color": "#800000" }, { "text": "#{", "color": "#800000" }, { "text": "$animal", "color": "#001188" }, { "text": "}", "color": "#800000" }, { "text": "-icon", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "background-image:", "color": "#ff0000" }, { "text": " ", "color": "#000000" }, { "text": "url(", "color": "#800000" }, { "text": "'", "color": "#a31515" }, { "text": "/images/#{$animal}.png", "color": "#a31515" }, { "text": "'", "color": "#a31515" }, { "text": ")", "color": "#800000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "$baseFontSizeInPixels:", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "14", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "@function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "px2em (", "color": "#a79873" }, { "text": "$font_size", "color": "#74b0df" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$base_font_size:", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$baseFontSizeInPixels", "color": "#74b0df" }, { "text": ")", "color": "#a79873" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "@return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "$font_size", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "/", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$base_font_size", "color": "#74b0df" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "em", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "px2em(", "color": "#a79873" }, { "text": "36", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$baseFontSizeInPixels", "color": "#74b0df" }, { "text": ")", "color": "#a79873" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": "h2", "color": "#569cd6" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "px2em(", "color": "#a79873" }, { "text": "28", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$baseFontSizeInPixels", "color": "#74b0df" }, { "text": ")", "color": "#a79873" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": ".class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "font-size:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "px2em(", "color": "#a79873" }, { "text": "14", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$baseFontSizeInPixels", "color": "#74b0df" }, { "text": ")", "color": "#a79873" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "nav", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "margin:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "list-style:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "inline-block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "display:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "block", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "padding:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "6px", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "12px", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "text-decoration:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "none", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "@each", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$animal", "color": "#74b0df" }, { "text": " ", "color": "#d4d4d4" }, { "text": "in", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "puma", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "sea-slug", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "egret", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "salamander", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": ".", "color": "#569cd6" }, { "text": "#{", "color": "#a79873" }, { "text": "$animal", "color": "#74b0df" }, { "text": "}", "color": "#a79873" }, { "text": "-icon", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "background-image:", "color": "#9cdcfe" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url(", "color": "#a79873" }, { "text": "'", "color": "#ce9178" }, { "text": "/images/#{$animal}.png", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ")", "color": "#a79873" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "$baseFontSizeInPixels:", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "14", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "@function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "px2em (", "color": "#d4d4d4" }, { "text": "$font_size", "color": "#1aebff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$base_font_size:", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "$baseFontSizeInPixels", "color": "#1aebff" }, { "text": ")", "color": "#d4d4d4" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": "  ", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "@return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "$font_size", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "/", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "$base_font_size", "color": "#1aebff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "em", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "h1", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "px2em(", "color": "#d4d4d4" }, { "text": "36", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$baseFontSizeInPixels", "color": "#1aebff" }, { "text": ")", "color": "#d4d4d4" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": "h2", "color": "#569cd6" }, { "text": "  ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "px2em(", "color": "#d4d4d4" }, { "text": "28", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$baseFontSizeInPixels", "color": "#1aebff" }, { "text": ")", "color": "#d4d4d4" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": ".class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "font-size:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "px2em(", "color": "#d4d4d4" }, { "text": "14", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "$baseFontSizeInPixels", "color": "#1aebff" }, { "text": ")", "color": "#d4d4d4" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "nav", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "ul", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "margin:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "list-style:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "li", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "inline-block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "a", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "display:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "block", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "padding:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "6px", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "12px", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "text-decoration:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "none", "color": "#3ff23f" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "@each", "color": "#c586c0" }, { "text": " ", "color": "#ffffff" }, { "text": "$animal", "color": "#1aebff" }, { "text": " ", "color": "#ffffff" }, { "text": "in", "color": "#c586c0" }, { "text": " ", "color": "#ffffff" }, { "text": "puma", "color": "#3ff23f" }, { "text": ",", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "sea-slug", "color": "#3ff23f" }, { "text": ",", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "egret", "color": "#3ff23f" }, { "text": ",", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "salamander", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": ".", "color": "#569cd6" }, { "text": "#{", "color": "#d4d4d4" }, { "text": "$animal", "color": "#1aebff" }, { "text": "}", "color": "#d4d4d4" }, { "text": "-icon", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "background-image:", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url(", "color": "#d4d4d4" }, { "text": "'", "color": "#ce9178" }, { "text": "/images/#{$animal}.png", "color": "#ce9178" }, { "text": "'", "color": "#ce9178" }, { "text": ")", "color": "#d4d4d4" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ] ] } }, { "name": "sample - sql", "language": "sql", "result": { "vs": [ [ { "text": "CREATE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "TABLE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "dbo", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "EmployeePhoto", "color": "#000000" } ], [ { "text": "(", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "EmployeeId", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "INT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "NULL", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "PRIMARY", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "KEY", "color": "#0000ff" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "Photo", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "VARBINARY", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "MAX", "color": "#ff00ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "FILESTREAM", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "NULL", "color": "#778899" }, { "text": ",", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "MyRowGuidColumn", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "UNIQUEIDENTIFIER", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "NULL", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "ROWGUIDCOL", "color": "#0000ff" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "UNIQUE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "DEFAULT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "NEWID", "color": "#ff00ff" }, { "text": "()", "color": "#000000" } ], [ { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "GO", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "/*", "color": "#008000" } ], [ { "text": "text_of_comment", "color": "#008000" } ], [ { "text": "/* nested comment ", "color": "#008000" }, { "text": "*/", "color": "#008000" } ], [ { "text": "*/", "color": "#778899" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "-- line comment", "color": "#008000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "CREATE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "NONCLUSTERED", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "INDEX", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "IX_WorkOrder_ProductID", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "ON", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Production", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "WorkOrder", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "ProductID", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "WITH", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "FILLFACTOR", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "80", "color": "#09885a" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "PAD_INDEX", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "ON", "color": "#0000ff" }, { "text": ",", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "DROP_EXISTING", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "ON", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "GO", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "WHILE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "SELECT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "AVG", "color": "#ff00ff" }, { "text": "(", "color": "#000000" }, { "text": "ListPrice", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "FROM", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Production", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Product", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "$300", "color": "#09885a" } ], [ { "text": "BEGIN", "color": "#0000ff" } ], [ { "text": "   ", "color": "#000000" }, { "text": "UPDATE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Production", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Product", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "SET", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ListPrice", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "ListPrice", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" } ], [ { "text": "   ", "color": "#000000" }, { "text": "SELECT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "MAX", "color": "#ff00ff" }, { "text": "(", "color": "#000000" }, { "text": "ListPrice", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "FROM", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Production", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Product", "color": "#000000" } ], [ { "text": "   ", "color": "#000000" }, { "text": "IF", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "SELECT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "MAX", "color": "#ff00ff" }, { "text": "(", "color": "#000000" }, { "text": "ListPrice", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "FROM", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Production", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Product", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ">", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "$500", "color": "#09885a" } ], [ { "text": "      ", "color": "#000000" }, { "text": "BREAK", "color": "#0000ff" } ], [ { "text": "   ", "color": "#000000" }, { "text": "ELSE", "color": "#0000ff" } ], [ { "text": "      ", "color": "#000000" }, { "text": "CONTINUE", "color": "#0000ff" } ], [ { "text": "END", "color": "#0000ff" } ], [ { "text": "PRINT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Too much for the market to bear", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "MERGE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "INTO", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Sales", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SalesReason", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "AS", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Target", "color": "#000000" }, { "text": "]", "color": "#000000" } ], [ { "text": "USING", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "VALUES", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Recommendation", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Other", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Review", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Marketing", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ")", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Internet", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'", "color": "#ff0000" }, { "text": "Promotion", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": "))", "color": "#000000" } ], [ { "text": "       ", "color": "#000000" }, { "text": "AS", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Source", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "NewName", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NewReasonType", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "ON", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Target", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Name", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Source", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "NewName", "color": "#000000" }, { "text": "]", "color": "#000000" } ], [ { "text": "WHEN", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "MATCHED", "color": "#778899" } ], [ { "text": "THEN", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "UPDATE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "SET", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ReasonType", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Source", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "NewReasonType", "color": "#000000" } ], [ { "text": "WHEN", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "MATCHED", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "BY", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "TARGET", "color": "#0000ff" } ], [ { "text": "THEN", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "INSERT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "Name", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "ReasonType", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "VALUES", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "NewName", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "NewReasonType", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "OUTPUT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "$action", "color": "#ff00ff" }, { "text": " ", "color": "#000000" }, { "text": "INTO", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "@SummaryOfChanges", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "SELECT", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ProductID", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "OrderQty", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "SUM", "color": "#ff00ff" }, { "text": "(", "color": "#000000" }, { "text": "LineTotal", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "AS", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Total", "color": "#000000" } ], [ { "text": "FROM", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Sales", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "SalesOrderDetail", "color": "#000000" } ], [ { "text": "WHERE", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "UnitPrice", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#778899" }, { "text": " ", "color": "#000000" }, { "text": "$5.00", "color": "#09885a" } ], [ { "text": "GROUP", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "BY", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ProductID", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "OrderQty", "color": "#000000" } ], [ { "text": "ORDER", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "BY", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "ProductID", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "OrderQty", "color": "#000000" } ], [ { "text": "OPTION", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "HASH", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "GROUP", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "FAST", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "CREATE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "TABLE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "dbo", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "EmployeePhoto", "color": "#d4d4d4" } ], [ { "text": "(", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "EmployeeId", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "INT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NULL", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "PRIMARY", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "KEY", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "Photo", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "VARBINARY", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "MAX", "color": "#ff00ff" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "FILESTREAM", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NULL", "color": "#778899" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "MyRowGuidColumn", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "UNIQUEIDENTIFIER", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NULL", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ROWGUIDCOL", "color": "#569cd6" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "UNIQUE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "DEFAULT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NEWID", "color": "#ff00ff" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "GO", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "/*", "color": "#608b4e" } ], [ { "text": "text_of_comment", "color": "#608b4e" } ], [ { "text": "/* nested comment ", "color": "#608b4e" }, { "text": "*/", "color": "#608b4e" } ], [ { "text": "*/", "color": "#778899" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "-- line comment", "color": "#608b4e" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "CREATE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NONCLUSTERED", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "INDEX", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "IX_WorkOrder_ProductID", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "ON", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Production", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "WorkOrder", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "ProductID", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "WITH", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "FILLFACTOR", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "80", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "PAD_INDEX", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ON", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "DROP_EXISTING", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ON", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "GO", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "WHILE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "AVG", "color": "#ff00ff" }, { "text": "(", "color": "#dcdcdc" }, { "text": "ListPrice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Production", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Product", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$300", "color": "#b5cea8" } ], [ { "text": "BEGIN", "color": "#569cd6" } ], [ { "text": "   ", "color": "#d4d4d4" }, { "text": "UPDATE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Production", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Product", "color": "#d4d4d4" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "SET", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ListPrice", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ListPrice", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" } ], [ { "text": "   ", "color": "#d4d4d4" }, { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "MAX", "color": "#ff00ff" }, { "text": "(", "color": "#dcdcdc" }, { "text": "ListPrice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Production", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Product", "color": "#d4d4d4" } ], [ { "text": "   ", "color": "#d4d4d4" }, { "text": "IF", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "MAX", "color": "#ff00ff" }, { "text": "(", "color": "#dcdcdc" }, { "text": "ListPrice", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Production", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Product", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ">", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$500", "color": "#b5cea8" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "BREAK", "color": "#569cd6" } ], [ { "text": "   ", "color": "#d4d4d4" }, { "text": "ELSE", "color": "#569cd6" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "CONTINUE", "color": "#569cd6" } ], [ { "text": "END", "color": "#569cd6" } ], [ { "text": "PRINT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'", "color": "#ff0000" }, { "text": "Too much for the market to bear", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "MERGE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "INTO", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Sales", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SalesReason", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "AS", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Target", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" } ], [ { "text": "USING", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "VALUES", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'", "color": "#ff0000" }, { "text": "Recommendation", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#dcdcdc" }, { "text": "'", "color": "#ff0000" }, { "text": "Other", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'", "color": "#ff0000" }, { "text": "Review", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'", "color": "#ff0000" }, { "text": "Marketing", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ")", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'", "color": "#ff0000" }, { "text": "Internet", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'", "color": "#ff0000" }, { "text": "Promotion", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": "       ", "color": "#d4d4d4" }, { "text": "AS", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Source", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "[", "color": "#d4d4d4" }, { "text": "NewName", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NewReasonType", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "ON", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Target", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Name", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Source", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "[", "color": "#d4d4d4" }, { "text": "NewName", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" } ], [ { "text": "WHEN", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "MATCHED", "color": "#778899" } ], [ { "text": "THEN", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "UPDATE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "SET", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ReasonType", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Source", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "NewReasonType", "color": "#d4d4d4" } ], [ { "text": "WHEN", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "MATCHED", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "BY", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "TARGET", "color": "#569cd6" } ], [ { "text": "THEN", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "INSERT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "[", "color": "#d4d4d4" }, { "text": "Name", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ReasonType", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "VALUES", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "[", "color": "#d4d4d4" }, { "text": "NewName", "color": "#d4d4d4" }, { "text": "]", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NewReasonType", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "OUTPUT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$action", "color": "#ff00ff" }, { "text": " ", "color": "#d4d4d4" }, { "text": "INTO", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "@SummaryOfChanges", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ProductID", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "OrderQty", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "SUM", "color": "#ff00ff" }, { "text": "(", "color": "#dcdcdc" }, { "text": "LineTotal", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "AS", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Total", "color": "#d4d4d4" } ], [ { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Sales", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "SalesOrderDetail", "color": "#d4d4d4" } ], [ { "text": "WHERE", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "UnitPrice", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#778899" }, { "text": " ", "color": "#d4d4d4" }, { "text": "$5.00", "color": "#b5cea8" } ], [ { "text": "GROUP", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "BY", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ProductID", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "OrderQty", "color": "#d4d4d4" } ], [ { "text": "ORDER", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "BY", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "ProductID", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "OrderQty", "color": "#d4d4d4" } ], [ { "text": "OPTION", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "HASH", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "GROUP", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "FAST", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "10", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "CREATE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "TABLE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "dbo", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "EmployeePhoto", "color": "#ffffff" } ], [ { "text": "(", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "EmployeeId", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "INT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "NULL", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "PRIMARY", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "KEY", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "Photo", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "VARBINARY", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "MAX", "color": "#ff00ff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "FILESTREAM", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "NULL", "color": "#778899" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "MyRowGuidColumn", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "UNIQUEIDENTIFIER", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "NULL", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "ROWGUIDCOL", "color": "#569cd6" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "UNIQUE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "DEFAULT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "NEWID", "color": "#ff00ff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "GO", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "/*", "color": "#608b4e" } ], [ { "text": "text_of_comment", "color": "#608b4e" } ], [ { "text": "/* nested comment ", "color": "#608b4e" }, { "text": "*/", "color": "#608b4e" } ], [ { "text": "*/", "color": "#778899" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "-- line comment", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "CREATE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "NONCLUSTERED", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "INDEX", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "IX_WorkOrder_ProductID", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "ON", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Production", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "WorkOrder", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "ProductID", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "WITH", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "FILLFACTOR", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "80", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "PAD_INDEX", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "ON", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "DROP_EXISTING", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "ON", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "GO", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "WHILE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "AVG", "color": "#ff00ff" }, { "text": "(", "color": "#ffff00" }, { "text": "ListPrice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Production", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Product", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "$300", "color": "#ffffff" } ], [ { "text": "BEGIN", "color": "#569cd6" } ], [ { "text": "   ", "color": "#ffffff" }, { "text": "UPDATE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Production", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Product", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "SET", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ListPrice", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "ListPrice", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#ffffff" } ], [ { "text": "   ", "color": "#ffffff" }, { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "MAX", "color": "#ff00ff" }, { "text": "(", "color": "#ffff00" }, { "text": "ListPrice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Production", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Product", "color": "#ffffff" } ], [ { "text": "   ", "color": "#ffffff" }, { "text": "IF", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "MAX", "color": "#ff00ff" }, { "text": "(", "color": "#ffff00" }, { "text": "ListPrice", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Production", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Product", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ">", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "$500", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "BREAK", "color": "#569cd6" } ], [ { "text": "   ", "color": "#ffffff" }, { "text": "ELSE", "color": "#569cd6" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "CONTINUE", "color": "#569cd6" } ], [ { "text": "END", "color": "#569cd6" } ], [ { "text": "PRINT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "'", "color": "#ff0000" }, { "text": "Too much for the market to bear", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "MERGE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "INTO", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Sales", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SalesReason", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "AS", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffffff" }, { "text": "Target", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" } ], [ { "text": "USING", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "VALUES", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'", "color": "#ff0000" }, { "text": "Recommendation", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#ffff00" }, { "text": "'", "color": "#ff0000" }, { "text": "Other", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'", "color": "#ff0000" }, { "text": "Review", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'", "color": "#ff0000" }, { "text": "Marketing", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ")", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'", "color": "#ff0000" }, { "text": "Internet", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'", "color": "#ff0000" }, { "text": "Promotion", "color": "#ff0000" }, { "text": "'", "color": "#ff0000" }, { "text": "))", "color": "#ffff00" } ], [ { "text": "       ", "color": "#ffffff" }, { "text": "AS", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffffff" }, { "text": "Source", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "[", "color": "#ffffff" }, { "text": "NewName", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "NewReasonType", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "ON", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffffff" }, { "text": "Target", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "[", "color": "#ffffff" }, { "text": "Name", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffffff" }, { "text": "Source", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "[", "color": "#ffffff" }, { "text": "NewName", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" } ], [ { "text": "WHEN", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "MATCHED", "color": "#778899" } ], [ { "text": "THEN", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "UPDATE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "SET", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ReasonType", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "[", "color": "#ffffff" }, { "text": "Source", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "NewReasonType", "color": "#ffffff" } ], [ { "text": "WHEN", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "NOT", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "MATCHED", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "BY", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "TARGET", "color": "#569cd6" } ], [ { "text": "THEN", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "INSERT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "[", "color": "#ffffff" }, { "text": "Name", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "ReasonType", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "VALUES", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "[", "color": "#ffffff" }, { "text": "NewName", "color": "#ffffff" }, { "text": "]", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "NewReasonType", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "OUTPUT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "$action", "color": "#ff00ff" }, { "text": " ", "color": "#ffffff" }, { "text": "INTO", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "@SummaryOfChanges", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "SELECT", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ProductID", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "OrderQty", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "SUM", "color": "#ff00ff" }, { "text": "(", "color": "#ffff00" }, { "text": "LineTotal", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "AS", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Total", "color": "#ffffff" } ], [ { "text": "FROM", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Sales", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "SalesOrderDetail", "color": "#ffffff" } ], [ { "text": "WHERE", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "UnitPrice", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#778899" }, { "text": " ", "color": "#ffffff" }, { "text": "$5.00", "color": "#ffffff" } ], [ { "text": "GROUP", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "BY", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ProductID", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "OrderQty", "color": "#ffffff" } ], [ { "text": "ORDER", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "BY", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "ProductID", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "OrderQty", "color": "#ffffff" } ], [ { "text": "OPTION", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "HASH", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "GROUP", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "FAST", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "10", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - swift", "language": "swift", "result": { "vs": [ [ { "text": "import", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Foundation", "color": "#008080" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "protocol", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "APIControllerProtocol", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "didReceiveAPIResults", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "results", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSArray", "color": "#008080" }, { "text": ")", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "APIController", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "delegate", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "APIControllerProtocol", "color": "#008080" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "init", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "delegate", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "APIControllerProtocol", "color": "#008080" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "delegate", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "delegate", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "get", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "path", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#008080" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "url", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSURL", "color": "#008080" }, { "text": "(", "color": "#000000" }, { "text": "string", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "path", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "session", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSURLSession", "color": "#008080" }, { "text": ".", "color": "#000000" }, { "text": "sharedSession", "color": "#008080" }, { "text": "()", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "task", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "session", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "dataTaskWithURL", "color": "#008080" }, { "text": "(", "color": "#000000" }, { "text": "url", "color": "#000000" }, { "text": "!,", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "completionHandler", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": "data", "color": "#000000" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "response", "color": "#000000" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "error", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "->", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "Void", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "in", "color": "#0000ff" } ], [ { "text": "            ", "color": "#000000" }, { "text": "println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "Task completed", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "error", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "nil", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "// If there is an error in the web request, print it to the console", "color": "#008000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "error", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "localizedDescription", "color": "#008080" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "err", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSError", "color": "#008080" }, { "text": "?", "color": "#666666" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "jsonResult", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSJSONSerialization", "color": "#008080" }, { "text": ".", "color": "#000000" }, { "text": "JSONObjectWithData", "color": "#008080" }, { "text": "(", "color": "#000000" }, { "text": "data", "color": "#000000" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "options", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSJSONReadingOptions", "color": "#008080" }, { "text": ".", "color": "#000000" }, { "text": "MutableContainers", "color": "#008080" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "error", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "&err", "color": "#666666" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "as", "color": "#0000ff" }, { "text": "?", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSDictionary", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "err", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "nil", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "// If there is an error parsing JSON, print it to the console", "color": "#008000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "println", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "JSON Error ", "color": "#a31515" }, { "text": "\\(", "color": "#666666" }, { "text": "err", "color": "#000000" }, { "text": "!", "color": "#666666" }, { "text": ".", "color": "#000000" }, { "text": "localizedDescription", "color": "#000000" }, { "text": ")", "color": "#666666" }, { "text": "\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "results", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSArray", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "jsonResult", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "results", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": "]", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "as", "color": "#0000ff" }, { "text": "?", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSArray", "color": "#008080" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "self", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "delegate", "color": "#008080" }, { "text": ".", "color": "#000000" }, { "text": "didReceiveAPIResults", "color": "#008080" }, { "text": "(", "color": "#000000" }, { "text": "results", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// The task is just an object with all these properties set", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// In order to actually make the web request, we need to \"resume\"", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "task", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "resume", "color": "#008080" }, { "text": "()", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "func", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "searchItunesFor", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "searchTerm", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#008080" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// The iTunes API wants multiple terms separated by + symbols, so replace spaces with + signs", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "itunesSearchTerm", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "searchTerm", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "stringByReplacingOccurrencesOfString", "color": "#008080" }, { "text": "(", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": " ", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "withString", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "+", "color": "#a31515" }, { "text": "\"", "color": "#a31515" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "options", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "NSStringCompareOptions", "color": "#008080" }, { "text": ".", "color": "#000000" }, { "text": "CaseInsensitiveSearch", "color": "#008080" }, { "text": ",", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "range", "color": "#000000" }, { "text": ":", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "nil", "color": "#0000ff" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "// Now escape anything else that isn't URL-friendly", "color": "#008000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "escapedSearchTerm", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "itunesSearchTerm", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "stringByAddingPercentEscapesUsingEncoding", "color": "#008080" }, { "text": "(", "color": "#000000" }, { "text": "NSUTF8StringEncoding", "color": "#008080" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "let", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "urlPath", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#666666" }, { "text": " ", "color": "#000000" }, { "text": "\"", "color": "#a31515" }, { "text": "https://itunes.apple.com/search?term=", "color": "#a31515" }, { "text": "\\(", "color": "#666666" }, { "text": "escapedSearchTerm", "color": "#000000" }, { "text": ")", "color": "#666666" }, { "text": "&media=music&entity=album", "color": "#a31515" }, { "text": "\"", "color": "#a31515" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "}", "color": "#000000" } ] ], "vs_dark": [ [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Foundation", "color": "#3dc9b0" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "protocol", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "APIControllerProtocol", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "didReceiveAPIResults", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "results", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSArray", "color": "#3dc9b0" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "APIController", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "delegate", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "APIControllerProtocol", "color": "#3dc9b0" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "init", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "delegate", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "APIControllerProtocol", "color": "#3dc9b0" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "self", "color": "#569cd6" }, { "text": ".", "color": "#d4d4d4" }, { "text": "delegate", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "delegate", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "get", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "path", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#3dc9b0" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "url", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSURL", "color": "#3dc9b0" }, { "text": "(", "color": "#dcdcdc" }, { "text": "string", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "path", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "session", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSURLSession", "color": "#3dc9b0" }, { "text": ".", "color": "#d4d4d4" }, { "text": "sharedSession", "color": "#3dc9b0" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "task", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "session", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "dataTaskWithURL", "color": "#3dc9b0" }, { "text": "(", "color": "#dcdcdc" }, { "text": "url", "color": "#d4d4d4" }, { "text": "!,", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "completionHandler", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": "data", "color": "#d4d4d4" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "response", "color": "#d4d4d4" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "error", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "->", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Void", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "in", "color": "#569cd6" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"", "color": "#ce9178" }, { "text": "Task completed", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "error", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nil", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "// If there is an error in the web request, print it to the console", "color": "#608b4e" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "error", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "localizedDescription", "color": "#3dc9b0" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "err", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSError", "color": "#3dc9b0" }, { "text": "?", "color": "#909090" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "jsonResult", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSJSONSerialization", "color": "#3dc9b0" }, { "text": ".", "color": "#d4d4d4" }, { "text": "JSONObjectWithData", "color": "#3dc9b0" }, { "text": "(", "color": "#dcdcdc" }, { "text": "data", "color": "#d4d4d4" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "options", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSJSONReadingOptions", "color": "#3dc9b0" }, { "text": ".", "color": "#d4d4d4" }, { "text": "MutableContainers", "color": "#3dc9b0" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "error", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "&err", "color": "#909090" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "as", "color": "#569cd6" }, { "text": "?", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSDictionary", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "err", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nil", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "// If there is an error parsing JSON, print it to the console", "color": "#608b4e" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "println", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"", "color": "#ce9178" }, { "text": "JSON Error ", "color": "#ce9178" }, { "text": "\\(", "color": "#909090" }, { "text": "err", "color": "#d4d4d4" }, { "text": "!", "color": "#909090" }, { "text": ".", "color": "#dcdcdc" }, { "text": "localizedDescription", "color": "#d4d4d4" }, { "text": ")", "color": "#909090" }, { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "results", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSArray", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "jsonResult", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "\"", "color": "#ce9178" }, { "text": "results", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": "]", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "as", "color": "#569cd6" }, { "text": "?", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSArray", "color": "#3dc9b0" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "self", "color": "#569cd6" }, { "text": ".", "color": "#d4d4d4" }, { "text": "delegate", "color": "#3dc9b0" }, { "text": ".", "color": "#d4d4d4" }, { "text": "didReceiveAPIResults", "color": "#3dc9b0" }, { "text": "(", "color": "#dcdcdc" }, { "text": "results", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// The task is just an object with all these properties set", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// In order to actually make the web request, we need to \"resume\"", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "task", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "resume", "color": "#3dc9b0" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "searchItunesFor", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "searchTerm", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#3dc9b0" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// The iTunes API wants multiple terms separated by + symbols, so replace spaces with + signs", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "itunesSearchTerm", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "searchTerm", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "stringByReplacingOccurrencesOfString", "color": "#3dc9b0" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"", "color": "#ce9178" }, { "text": " ", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "withString", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "+", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "options", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "NSStringCompareOptions", "color": "#3dc9b0" }, { "text": ".", "color": "#d4d4d4" }, { "text": "CaseInsensitiveSearch", "color": "#3dc9b0" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "range", "color": "#d4d4d4" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "nil", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "// Now escape anything else that isn't URL-friendly", "color": "#608b4e" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "escapedSearchTerm", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "itunesSearchTerm", "color": "#d4d4d4" }, { "text": ".", "color": "#d4d4d4" }, { "text": "stringByAddingPercentEscapesUsingEncoding", "color": "#3dc9b0" }, { "text": "(", "color": "#dcdcdc" }, { "text": "NSUTF8StringEncoding", "color": "#3dc9b0" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "urlPath", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"", "color": "#ce9178" }, { "text": "https://itunes.apple.com/search?term=", "color": "#ce9178" }, { "text": "\\(", "color": "#909090" }, { "text": "escapedSearchTerm", "color": "#d4d4d4" }, { "text": ")", "color": "#909090" }, { "text": "&media=music&entity=album", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "}", "color": "#dcdcdc" } ] ], "hc_black": [ [ { "text": "import", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Foundation", "color": "#3dc9b0" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "protocol", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "APIControllerProtocol", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "didReceiveAPIResults", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "results", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSArray", "color": "#3dc9b0" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "APIController", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "delegate", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "APIControllerProtocol", "color": "#3dc9b0" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "init", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "delegate", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "APIControllerProtocol", "color": "#3dc9b0" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "self", "color": "#569cd6" }, { "text": ".", "color": "#ffffff" }, { "text": "delegate", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "delegate", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "get", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "path", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#3dc9b0" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "url", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSURL", "color": "#3dc9b0" }, { "text": "(", "color": "#ffff00" }, { "text": "string", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "path", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "session", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSURLSession", "color": "#3dc9b0" }, { "text": ".", "color": "#ffffff" }, { "text": "sharedSession", "color": "#3dc9b0" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "task", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "session", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "dataTaskWithURL", "color": "#3dc9b0" }, { "text": "(", "color": "#ffff00" }, { "text": "url", "color": "#ffffff" }, { "text": "!,", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "completionHandler", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": "data", "color": "#ffffff" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "response", "color": "#ffffff" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "error", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "->", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "Void", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "in", "color": "#569cd6" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"", "color": "#ce9178" }, { "text": "Task completed", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "error", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "nil", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "// If there is an error in the web request, print it to the console", "color": "#608b4e" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "error", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "localizedDescription", "color": "#3dc9b0" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "err", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSError", "color": "#3dc9b0" }, { "text": "?", "color": "#909090" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "jsonResult", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSJSONSerialization", "color": "#3dc9b0" }, { "text": ".", "color": "#ffffff" }, { "text": "JSONObjectWithData", "color": "#3dc9b0" }, { "text": "(", "color": "#ffff00" }, { "text": "data", "color": "#ffffff" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "options", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSJSONReadingOptions", "color": "#3dc9b0" }, { "text": ".", "color": "#ffffff" }, { "text": "MutableContainers", "color": "#3dc9b0" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "error", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "&err", "color": "#909090" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "as", "color": "#569cd6" }, { "text": "?", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSDictionary", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "err", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "nil", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "// If there is an error parsing JSON, print it to the console", "color": "#608b4e" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "println", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"", "color": "#ce9178" }, { "text": "JSON Error ", "color": "#ce9178" }, { "text": "\\(", "color": "#909090" }, { "text": "err", "color": "#ffffff" }, { "text": "!", "color": "#909090" }, { "text": ".", "color": "#ffff00" }, { "text": "localizedDescription", "color": "#ffffff" }, { "text": ")", "color": "#909090" }, { "text": "\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "results", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSArray", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "jsonResult", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "\"", "color": "#ce9178" }, { "text": "results", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": "]", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "as", "color": "#569cd6" }, { "text": "?", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSArray", "color": "#3dc9b0" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "self", "color": "#569cd6" }, { "text": ".", "color": "#ffffff" }, { "text": "delegate", "color": "#3dc9b0" }, { "text": ".", "color": "#ffffff" }, { "text": "didReceiveAPIResults", "color": "#3dc9b0" }, { "text": "(", "color": "#ffff00" }, { "text": "results", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// The task is just an object with all these properties set", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// In order to actually make the web request, we need to \"resume\"", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "task", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "resume", "color": "#3dc9b0" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "func", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "searchItunesFor", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "searchTerm", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#3dc9b0" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// The iTunes API wants multiple terms separated by + symbols, so replace spaces with + signs", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "itunesSearchTerm", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "searchTerm", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "stringByReplacingOccurrencesOfString", "color": "#3dc9b0" }, { "text": "(", "color": "#ffff00" }, { "text": "\"", "color": "#ce9178" }, { "text": " ", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "withString", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "+", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "options", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "NSStringCompareOptions", "color": "#3dc9b0" }, { "text": ".", "color": "#ffffff" }, { "text": "CaseInsensitiveSearch", "color": "#3dc9b0" }, { "text": ",", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "range", "color": "#ffffff" }, { "text": ":", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "nil", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "// Now escape anything else that isn't URL-friendly", "color": "#608b4e" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "escapedSearchTerm", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "itunesSearchTerm", "color": "#ffffff" }, { "text": ".", "color": "#ffffff" }, { "text": "stringByAddingPercentEscapesUsingEncoding", "color": "#3dc9b0" }, { "text": "(", "color": "#ffff00" }, { "text": "NSUTF8StringEncoding", "color": "#3dc9b0" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "let", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "urlPath", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#909090" }, { "text": " ", "color": "#ffffff" }, { "text": "\"", "color": "#ce9178" }, { "text": "https://itunes.apple.com/search?term=", "color": "#ce9178" }, { "text": "\\(", "color": "#909090" }, { "text": "escapedSearchTerm", "color": "#ffffff" }, { "text": ")", "color": "#909090" }, { "text": "&media=music&entity=album", "color": "#ce9178" }, { "text": "\"", "color": "#ce9178" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "}", "color": "#ffff00" } ] ] } }, { "name": "sample - typescript", "language": "typescript", "result": { "vs": [ [ { "text": "/* Game of Life", "color": "#008000" } ], [ { "text": " * Implemented in TypeScript", "color": "#008000" } ], [ { "text": " * To learn more about TypeScript, please visit http://www.typescriptlang.org/", "color": "#008000" } ], [ { "text": " */", "color": "#008000" } ], [ { "text": " ", "color": "#000000" } ], [ { "text": "module", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Conway", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "export", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "boolean", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "boolean", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "live", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "export", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "GameOfLife", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "canvasSize", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "lineColor", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "liveColor", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "deadColor", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "string", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "initialLifeProbability", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "animationRate", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "CanvasRenderingContext2D", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "private", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "world", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "constructor", "color": "#0000ff" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "50", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "canvasSize", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "600", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "lineColor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'#cdcdcd'", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "liveColor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'#666'", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "deadColor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'#eee'", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "initialLifeProbability", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0.5", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "animationRate", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "60", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "world", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "createWorld", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "circleOfLife", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "createWorld", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "travelWorld", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=>", "color": "#000000" }, { "text": "  ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Math", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "random", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "initialLifeProbability", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "circleOfLife", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "void", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "world", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "travelWorld", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=>", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "world", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": "][", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "draw", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "resolveNextGeneration", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "setTimeout", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=>", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "circleOfLife", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "animationRate", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": " ", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "resolveNextGeneration", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "count", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "countNeighbors", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "newCell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "count", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "count", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "newCell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "else", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "count", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "newCell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "true", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "newCell", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "countNeighbors", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "neighbors", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<=", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "-", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "&&", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "continue", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "isAlive", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "+", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "))", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                        ", "color": "#000000" }, { "text": "neighbors", "color": "#000000" }, { "text": "++;", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "neighbors", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "isAlive", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "number", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ">=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "||", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ">=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "world", "color": "#000000" }, { "text": "[", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": "][", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "]", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "travelWorld", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "callback", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "result", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "rowData", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "[]", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "for", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": ";", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "++", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "rowData", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "push", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "callback", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "false", "color": "#0000ff" }, { "text": ")))", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "                ", "color": "#000000" }, { "text": "result", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "push", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "rowData", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "  ", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "result", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "draw", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Cell", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "null", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "createDrawingContext", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "canvasSize", "color": "#000000" }, { "text": "/", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "gridSize", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "strokeStyle", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "lineColor", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "strokeRect", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "fillStyle", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "live", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "?", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "liveColor", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "deadColor", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "context", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "fillRect", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "row", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "cell", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "col", "color": "#000000" }, { "text": "*", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "cellSize", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" }, { "text": "    ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "createDrawingContext", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<", "color": "#000000" }, { "text": "HTMLCanvasElement", "color": "#000000" }, { "text": ">", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "document", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "getElementById", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'conway-canvas'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "if", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "==", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "null", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "document", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "createElement", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'canvas'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "id", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "'conway-canvas'", "color": "#a31515" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "width", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "canvasSize", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "height", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "this", "color": "#0000ff" }, { "text": ".", "color": "#000000" }, { "text": "canvasSize", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "                    ", "color": "#000000" }, { "text": "document", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "body", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "appendChild", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "canvas", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "getContext", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "'2d'", "color": "#a31515" }, { "text": ")", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "}", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "var", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "game", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "new", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Conway", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "GameOfLife", "color": "#000000" }, { "text": "()", "color": "#000000" }, { "text": ";", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "/* Game of Life", "color": "#608b4e" } ], [ { "text": " * Implemented in TypeScript", "color": "#608b4e" } ], [ { "text": " * To learn more about TypeScript, please visit http://www.typescriptlang.org/", "color": "#608b4e" } ], [ { "text": " */", "color": "#608b4e" } ], [ { "text": " ", "color": "#d4d4d4" } ], [ { "text": "module", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Conway", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "export", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "live", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "boolean", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "live", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "boolean", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "live", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "export", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "GameOfLife", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "canvasSize", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "lineColor", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "liveColor", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "deadColor", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "string", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "initialLifeProbability", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "animationRate", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "context", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "CanvasRenderingContext2D", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "world", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "constructor", "color": "#569cd6" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "50", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "canvasSize", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "600", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "lineColor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'#cdcdcd'", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "liveColor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'#666'", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "deadColor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'#eee'", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "initialLifeProbability", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0.5", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "animationRate", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "60", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "world", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "createWorld", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "circleOfLife", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "createWorld", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "travelWorld", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=>", "color": "#dcdcdc" }, { "text": "  ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Math", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "random", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "initialLifeProbability", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "circleOfLife", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "world", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "travelWorld", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=>", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "world", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": "][", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "draw", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "resolveNextGeneration", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "setTimeout", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=>", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "circleOfLife", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": "}", "color": "#dcdcdc" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "animationRate", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "resolveNextGeneration", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "count", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "countNeighbors", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "newCell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "count", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "2", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "count", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "newCell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "else", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "count", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "3", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "newCell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "true", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "newCell", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "countNeighbors", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "neighbors", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<=", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "-", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "1", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "&&", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "continue", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "isAlive", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "+", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": "))", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                        ", "color": "#d4d4d4" }, { "text": "neighbors", "color": "#d4d4d4" }, { "text": "++;", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "neighbors", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "isAlive", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "number", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ">=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "||", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ">=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "world", "color": "#d4d4d4" }, { "text": "[", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": "][", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": "]", "color": "#dcdcdc" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "travelWorld", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "callback", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "result", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "row", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "rowData", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "[]", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": "++", "color": "#dcdcdc" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "rowData", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "push", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "callback", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "col", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "false", "color": "#569cd6" }, { "text": ")))", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "result", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "push", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "rowData", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "  ", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "result", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "draw", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Cell", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "null", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "createDrawingContext", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0", "color": "#b5cea8" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "canvasSize", "color": "#d4d4d4" }, { "text": "/", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "gridSize", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "strokeStyle", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "lineColor", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "strokeRect", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": "*", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "fillStyle", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "live", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "?", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "liveColor", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": ":", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "deadColor", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "context", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "fillRect", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "row", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "cell", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "col", "color": "#d4d4d4" }, { "text": "*", "color": "#dcdcdc" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "cellSize", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" }, { "text": "    ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "createDrawingContext", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<", "color": "#dcdcdc" }, { "text": "HTMLCanvasElement", "color": "#d4d4d4" }, { "text": ">", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "document", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "getElementById", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'conway-canvas'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "==", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "null", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "document", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "createElement", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'canvas'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "id", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "'conway-canvas'", "color": "#ce9178" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "width", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "canvasSize", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "height", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#dcdcdc" }, { "text": "canvasSize", "color": "#d4d4d4" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "                    ", "color": "#d4d4d4" }, { "text": "document", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "body", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "appendChild", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "canvas", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "getContext", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "'2d'", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "}", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "game", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Conway", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "GameOfLife", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" }, { "text": ";", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "/* Game of Life", "color": "#608b4e" } ], [ { "text": " * Implemented in TypeScript", "color": "#608b4e" } ], [ { "text": " * To learn more about TypeScript, please visit http://www.typescriptlang.org/", "color": "#608b4e" } ], [ { "text": " */", "color": "#608b4e" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "module", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Conway", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "export", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "live", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "boolean", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "live", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "boolean", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "live", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "export", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "GameOfLife", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "gridSize", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "canvasSize", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "lineColor", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "liveColor", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "deadColor", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "string", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "initialLifeProbability", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "animationRate", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "context", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "CanvasRenderingContext2D", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "private", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "world", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "constructor", "color": "#569cd6" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "gridSize", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "50", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "canvasSize", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "600", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "lineColor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'#cdcdcd'", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "liveColor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'#666'", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "deadColor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'#eee'", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "initialLifeProbability", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0.5", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "animationRate", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "60", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "world", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "createWorld", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "circleOfLife", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "createWorld", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "travelWorld", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=>", "color": "#ffff00" }, { "text": "  ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Math", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "random", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "initialLifeProbability", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "circleOfLife", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "void", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "world", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "travelWorld", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=>", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "world", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": "][", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "draw", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "resolveNextGeneration", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "setTimeout", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "=>", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "circleOfLife", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": "}", "color": "#ffff00" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "animationRate", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "resolveNextGeneration", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "count", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "countNeighbors", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "newCell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "count", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "2", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "count", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "3", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "newCell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "else", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "count", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "3", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "newCell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "true", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "newCell", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "countNeighbors", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "neighbors", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<=", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "-", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "1", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "&&", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "continue", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "isAlive", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "+", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": "))", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                        ", "color": "#ffffff" }, { "text": "neighbors", "color": "#ffffff" }, { "text": "++;", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "neighbors", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "isAlive", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "number", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ">=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "gridSize", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "||", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ">=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "gridSize", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "world", "color": "#ffffff" }, { "text": "[", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": "][", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": "]", "color": "#ffff00" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "travelWorld", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "callback", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "result", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "gridSize", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "row", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "rowData", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "[]", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "for", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "gridSize", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": "++", "color": "#ffff00" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "rowData", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "push", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "callback", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "col", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "false", "color": "#569cd6" }, { "text": ")))", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "result", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "push", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "rowData", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "  ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "result", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "draw", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Cell", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "null", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "createDrawingContext", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "0", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "canvasSize", "color": "#ffffff" }, { "text": "/", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "gridSize", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "strokeStyle", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "lineColor", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "strokeRect", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": "*", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "fillStyle", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "live", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "?", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "liveColor", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": ":", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "deadColor", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "context", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "fillRect", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "row", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "cell", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "col", "color": "#ffffff" }, { "text": "*", "color": "#ffff00" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "cellSize", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" }, { "text": "    ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "createDrawingContext", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "canvas", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "HTMLCanvasElement", "color": "#ffffff" }, { "text": ">", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "document", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "getElementById", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'conway-canvas'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "if", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "canvas", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "==", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "null", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "canvas", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "document", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "createElement", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'canvas'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "canvas", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "id", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "'conway-canvas'", "color": "#ce9178" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "canvas", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "width", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "canvasSize", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "canvas", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "height", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "this", "color": "#569cd6" }, { "text": ".", "color": "#ffff00" }, { "text": "canvasSize", "color": "#ffffff" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "                    ", "color": "#ffffff" }, { "text": "document", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "body", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "appendChild", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "canvas", "color": "#ffffff" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "canvas", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "getContext", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "'2d'", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "}", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "var", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "game", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "new", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Conway", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "GameOfLife", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" }, { "text": ";", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - vb", "language": "vb", "result": { "vs": [ [ { "text": "Imports", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" } ], [ { "text": "Imports", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Collections", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Generic", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "Module", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Module1", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "Sub", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Main", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Dim", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "As", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "New", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "M8Ball", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Do", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "While", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "True", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "Dim", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "q", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "As", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"\"", "color": "#a31515" } ], [ { "text": "            ", "color": "#000000" }, { "text": "Console", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Write", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"ask me about the future... \"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "q", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Console", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "ReadLine", "color": "#000000" }, { "text": "()", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "            ", "color": "#000000" }, { "text": "If", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "q", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Trim", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "<>", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"\"", "color": "#a31515" }, { "text": " ", "color": "#000000" }, { "text": "Then", "color": "#0000ff" } ], [ { "text": "                ", "color": "#000000" }, { "text": "Console", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "WriteLine", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "\"the answer is... {0}\"", "color": "#a31515" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "a", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "getAnswer", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "q", "color": "#000000" }, { "text": "))", "color": "#000000" } ], [ { "text": "            ", "color": "#000000" }, { "text": "Else", "color": "#0000ff" } ], [ { "text": "                ", "color": "#000000" }, { "text": "Exit", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Do", "color": "#0000ff" } ], [ { "text": "            ", "color": "#000000" }, { "text": "End If", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Loop", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "End Sub", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "End Module", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "Class", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "M8Ball", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "Public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "As", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Collections", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Generic", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Dictionary", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Of", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Integer", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#0000ff" }, { "text": ")", "color": "#000000" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "Public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Sub", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "New", "color": "#0000ff" }, { "text": "()", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "=", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "New", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "System", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Collections", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Generic", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Dictionary", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "Of", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Integer", "color": "#0000ff" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#0000ff" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"It is certain\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "1", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"It is decidedly so\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "2", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Without a doubt\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "3", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Yes, definitely\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "4", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"You may rely on \"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "5", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"As I see it, yes\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "6", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Most likely\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "7", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Outlook good\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "8", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Signs point to yes\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "9", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Yes\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "10", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Reply hazy, try again\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "11", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Ask again later\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "12", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Better not tell you now\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "13", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Cannot predict now\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "14", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Concentrate and ask again\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "15", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Don't count on it\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "16", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"My reply is no\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "17", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"My sources say no\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "18", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Outlook not so\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Add", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "19", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "\"Very doubtful\"", "color": "#a31515" }, { "text": ")", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "End Sub", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "    ", "color": "#000000" }, { "text": "Public", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Function", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "getAnswer", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "theQuestion", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "As", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#0000ff" }, { "text": ")", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "As", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "String", "color": "#0000ff" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Dim", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "r", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "As", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "New", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Random", "color": "#000000" } ], [ { "text": "        ", "color": "#000000" }, { "text": "Return", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "Answers", "color": "#000000" }, { "text": "(", "color": "#000000" }, { "text": "r", "color": "#000000" }, { "text": ".", "color": "#000000" }, { "text": "Next", "color": "#0000ff" }, { "text": "(", "color": "#000000" }, { "text": "0", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "19", "color": "#09885a" }, { "text": "))", "color": "#000000" } ], [ { "text": "    ", "color": "#000000" }, { "text": "End Function", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ], [ { "text": "End Class", "color": "#0000ff" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "Imports", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" } ], [ { "text": "Imports", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Collections", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Generic", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "Module", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Module1", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "Sub", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Main", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Dim", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "New", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "M8Ball", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Do", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "While", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "True", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "Dim", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "q", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "Console", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Write", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"ask me about the future... \"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "q", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Console", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "ReadLine", "color": "#d4d4d4" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "If", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "q", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Trim", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "<>", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Then", "color": "#569cd6" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "Console", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "WriteLine", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "\"the answer is... {0}\"", "color": "#ce9178" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "a", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "getAnswer", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "q", "color": "#d4d4d4" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "Else", "color": "#569cd6" } ], [ { "text": "                ", "color": "#d4d4d4" }, { "text": "Exit", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Do", "color": "#569cd6" } ], [ { "text": "            ", "color": "#d4d4d4" }, { "text": "End If", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Loop", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "End Sub", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "End Module", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "Class", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "M8Ball", "color": "#d4d4d4" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "Public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Collections", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Generic", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Dictionary", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Of", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Integer", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "Public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Sub", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "New", "color": "#569cd6" }, { "text": "()", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "=", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "New", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "System", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Collections", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Generic", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Dictionary", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "Of", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Integer", "color": "#569cd6" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"It is certain\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "1", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"It is decidedly so\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "2", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Without a doubt\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "3", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Yes, definitely\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "4", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"You may rely on \"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "5", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"As I see it, yes\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "6", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Most likely\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "7", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Outlook good\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "8", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Signs point to yes\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "9", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Yes\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "10", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Reply hazy, try again\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "11", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Ask again later\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "12", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Better not tell you now\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "13", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Cannot predict now\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "14", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Concentrate and ask again\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "15", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Don't count on it\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "16", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"My reply is no\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "17", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"My sources say no\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "18", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Outlook not so\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Add", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "19", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "\"Very doubtful\"", "color": "#ce9178" }, { "text": ")", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "End Sub", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "Public", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Function", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "getAnswer", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "theQuestion", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#569cd6" }, { "text": ")", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "String", "color": "#569cd6" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Dim", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "r", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "New", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Random", "color": "#d4d4d4" } ], [ { "text": "        ", "color": "#d4d4d4" }, { "text": "Return", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Answers", "color": "#d4d4d4" }, { "text": "(", "color": "#dcdcdc" }, { "text": "r", "color": "#d4d4d4" }, { "text": ".", "color": "#dcdcdc" }, { "text": "Next", "color": "#569cd6" }, { "text": "(", "color": "#dcdcdc" }, { "text": "0", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "19", "color": "#b5cea8" }, { "text": "))", "color": "#dcdcdc" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "End Function", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ], [ { "text": "End Class", "color": "#569cd6" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "Imports", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" } ], [ { "text": "Imports", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Collections", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Generic", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "Module", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Module1", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "Sub", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Main", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Dim", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "New", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "M8Ball", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Do", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "While", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "True", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "Dim", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "q", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"\"", "color": "#ce9178" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "Console", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Write", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"ask me about the future... \"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "q", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "Console", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "ReadLine", "color": "#ffffff" }, { "text": "()", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "If", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "q", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Trim", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "<>", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"\"", "color": "#ce9178" }, { "text": " ", "color": "#ffffff" }, { "text": "Then", "color": "#569cd6" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "Console", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "WriteLine", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "\"the answer is... {0}\"", "color": "#ce9178" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "a", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "getAnswer", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "q", "color": "#ffffff" }, { "text": "))", "color": "#ffff00" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "Else", "color": "#569cd6" } ], [ { "text": "                ", "color": "#ffffff" }, { "text": "Exit", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Do", "color": "#569cd6" } ], [ { "text": "            ", "color": "#ffffff" }, { "text": "End If", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Loop", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "End Sub", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "End Module", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "Class", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "M8Ball", "color": "#ffffff" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "Public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Collections", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Generic", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Dictionary", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Of", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Integer", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "Public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Sub", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "New", "color": "#569cd6" }, { "text": "()", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "=", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "New", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "System", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Collections", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Generic", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Dictionary", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "Of", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Integer", "color": "#569cd6" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"It is certain\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "1", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"It is decidedly so\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "2", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Without a doubt\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "3", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Yes, definitely\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "4", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"You may rely on \"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "5", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"As I see it, yes\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "6", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Most likely\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "7", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Outlook good\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "8", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Signs point to yes\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "9", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Yes\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "10", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Reply hazy, try again\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "11", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Ask again later\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "12", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Better not tell you now\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "13", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Cannot predict now\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "14", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Concentrate and ask again\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "15", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Don't count on it\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "16", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"My reply is no\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "17", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"My sources say no\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "18", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Outlook not so\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Add", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "19", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "\"Very doubtful\"", "color": "#ce9178" }, { "text": ")", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "End Sub", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "Public", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Function", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "getAnswer", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "theQuestion", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#569cd6" }, { "text": ")", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "String", "color": "#569cd6" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Dim", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "r", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "As", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "New", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Random", "color": "#ffffff" } ], [ { "text": "        ", "color": "#ffffff" }, { "text": "Return", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "Answers", "color": "#ffffff" }, { "text": "(", "color": "#ffff00" }, { "text": "r", "color": "#ffffff" }, { "text": ".", "color": "#ffff00" }, { "text": "Next", "color": "#569cd6" }, { "text": "(", "color": "#ffff00" }, { "text": "0", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "19", "color": "#ffffff" }, { "text": "))", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "End Function", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ], [ { "text": "End Class", "color": "#569cd6" } ], [ { "text": " ", "color": "#ffffff" } ] ] } }, { "name": "sample - xml", "language": "xml", "result": { "vs": [ [ { "text": "", "color": "#0000ff" } ], [ { "text": "<", "color": "#0000ff" }, { "text": "configuration", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "xmlns:xdt", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"http://schemas.microsoft.com/XML-Document-Transform\"", "color": "#0000ff" }, { "text": ">", "color": "#0000ff" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#0000ff" }, { "text": "connectionStrings", "color": "#800000" }, { "text": ">", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#0000ff" }, { "text": "add", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "name", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"MyDB\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "connectionString", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"value for the deployed Web.config file\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" } ], [ { "text": "      ", "color": "#000000" }, { "text": "xdt:Transform", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"SetAttributes\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "xdt:Locator", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"Match(name)\"", "color": "#0000ff" }, { "text": "/", "color": "#800000" }, { "text": ">", "color": "#0000ff" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#0000ff" } ], [ { "text": "  ", "color": "#000000" }, { "text": "<", "color": "#0000ff" }, { "text": "system.web", "color": "#800000" }, { "text": ">", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "<", "color": "#0000ff" }, { "text": "customErrors", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "defaultRedirect", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"GenericError.htm\"", "color": "#0000ff" } ], [ { "text": "      ", "color": "#000000" }, { "text": "mode", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"RemoteOnly\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "xdt:Transform", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"Replace\"", "color": "#0000ff" }, { "text": ">", "color": "#0000ff" } ], [ { "text": "      ", "color": "#000000" }, { "text": "<", "color": "#0000ff" }, { "text": "error", "color": "#800000" }, { "text": " ", "color": "#000000" }, { "text": "statusCode", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"500\"", "color": "#0000ff" }, { "text": " ", "color": "#000000" }, { "text": "redirect", "color": "#ff0000" }, { "text": "=", "color": "#000000" }, { "text": "\"InternalError.htm\"", "color": "#0000ff" }, { "text": "/", "color": "#800000" }, { "text": ">", "color": "#0000ff" } ], [ { "text": "    ", "color": "#000000" }, { "text": "", "color": "#0000ff" } ], [ { "text": "  ", "color": "#000000" }, { "text": "", "color": "#0000ff" } ], [ { "text": "", "color": "#0000ff" } ] ], "vs_dark": [ [ { "text": "", "color": "#808080" } ], [ { "text": "<", "color": "#808080" }, { "text": "configuration", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "xmlns:xdt", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"http://schemas.microsoft.com/XML-Document-Transform\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "connectionStrings", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "add", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "name", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"MyDB\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "connectionString", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"value for the deployed Web.config file\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "xdt:Transform", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"SetAttributes\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "xdt:Locator", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"Match(name)\"", "color": "#ce9178" }, { "text": "/", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "system.web", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "customErrors", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "defaultRedirect", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"GenericError.htm\"", "color": "#ce9178" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "mode", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"RemoteOnly\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "xdt:Transform", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"Replace\"", "color": "#ce9178" }, { "text": ">", "color": "#808080" } ], [ { "text": "      ", "color": "#d4d4d4" }, { "text": "<", "color": "#808080" }, { "text": "error", "color": "#569cd6" }, { "text": " ", "color": "#d4d4d4" }, { "text": "statusCode", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"500\"", "color": "#ce9178" }, { "text": " ", "color": "#d4d4d4" }, { "text": "redirect", "color": "#9cdcfe" }, { "text": "=", "color": "#d4d4d4" }, { "text": "\"InternalError.htm\"", "color": "#ce9178" }, { "text": "/", "color": "#569cd6" }, { "text": ">", "color": "#808080" } ], [ { "text": "    ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "", "color": "#808080" } ], [ { "text": "", "color": "#808080" } ] ], "hc_black": [ [ { "text": "", "color": "#ffff00" } ], [ { "text": "<", "color": "#ffff00" }, { "text": "configuration", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "xmlns:xdt", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"http://schemas.microsoft.com/XML-Document-Transform\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "connectionStrings", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "add", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "name", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"MyDB\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "connectionString", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"value for the deployed Web.config file\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "xdt:Transform", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"SetAttributes\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "xdt:Locator", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"Match(name)\"", "color": "#3ff23f" }, { "text": "/", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "system.web", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "customErrors", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "defaultRedirect", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"GenericError.htm\"", "color": "#3ff23f" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "mode", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"RemoteOnly\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "xdt:Transform", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"Replace\"", "color": "#3ff23f" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "      ", "color": "#ffffff" }, { "text": "<", "color": "#ffff00" }, { "text": "error", "color": "#569cd6" }, { "text": " ", "color": "#ffffff" }, { "text": "statusCode", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"500\"", "color": "#3ff23f" }, { "text": " ", "color": "#ffffff" }, { "text": "redirect", "color": "#569cd6" }, { "text": "=", "color": "#ffffff" }, { "text": "\"InternalError.htm\"", "color": "#3ff23f" }, { "text": "/", "color": "#569cd6" }, { "text": ">", "color": "#ffff00" } ], [ { "text": "    ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "", "color": "#ffff00" } ], [ { "text": "", "color": "#ffff00" } ] ] } }, { "name": "sample - yaml", "language": "yaml", "result": { "vs": [ [ { "text": "%TAG ! tag:clarkevans.com,2002:", "color": "#000000" } ], [ { "text": "---", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!shape", "color": "#800000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "# Use the ! handle for presenting", "color": "#008000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "# tag:clarkevans.com,2002:circle", "color": "#008000" } ], [ { "text": "-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!circle", "color": "#800000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "center", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "&ORIGIN", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": "x", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "73", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "y", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "129", "color": "#09885a" }, { "text": "}", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "radius", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "7", "color": "#09885a" } ], [ { "text": "-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!line", "color": "#800000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "start", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*ORIGIN", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "finish", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "{", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "x", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "89", "color": "#09885a" }, { "text": ",", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "y", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "102", "color": "#09885a" }, { "text": " ", "color": "#000000" }, { "text": "}", "color": "#000000" } ], [ { "text": "-", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "!label", "color": "#800000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "start", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "*ORIGIN", "color": "#000000" } ], [ { "text": "  ", "color": "#000000" }, { "text": "color", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "0xFFEEBB", "color": "#3030c0" } ], [ { "text": "  ", "color": "#000000" }, { "text": "text", "color": "#008080" }, { "text": ":", "color": "#000000" }, { "text": " ", "color": "#000000" }, { "text": "Pretty vector drawing.", "color": "#0451a5" } ], [ { "text": " ", "color": "#333333" } ] ], "vs_dark": [ [ { "text": "%TAG ! tag:clarkevans.com,2002:", "color": "#d4d4d4" } ], [ { "text": "---", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!shape", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "# Use the ! handle for presenting", "color": "#608b4e" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "# tag:clarkevans.com,2002:circle", "color": "#608b4e" } ], [ { "text": "-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!circle", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "center", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "&ORIGIN", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": "x", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "73", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "y", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "129", "color": "#b5cea8" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "radius", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "7", "color": "#b5cea8" } ], [ { "text": "-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!line", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "start", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*ORIGIN", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "finish", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "{", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "x", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "89", "color": "#b5cea8" }, { "text": ",", "color": "#dcdcdc" }, { "text": " ", "color": "#d4d4d4" }, { "text": "y", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "102", "color": "#b5cea8" }, { "text": " ", "color": "#d4d4d4" }, { "text": "}", "color": "#dcdcdc" } ], [ { "text": "-", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "!label", "color": "#569cd6" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "start", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "*ORIGIN", "color": "#d4d4d4" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "color", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "0xFFEEBB", "color": "#5bb498" } ], [ { "text": "  ", "color": "#d4d4d4" }, { "text": "text", "color": "#3dc9b0" }, { "text": ":", "color": "#d4d4d4" }, { "text": " ", "color": "#d4d4d4" }, { "text": "Pretty vector drawing.", "color": "#ce9178" } ], [ { "text": " ", "color": "#bbbbbb" } ] ], "hc_black": [ [ { "text": "%TAG ! tag:clarkevans.com,2002:", "color": "#d4d4d4" } ], [ { "text": "---", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!shape", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "# Use the ! handle for presenting", "color": "#608b4e" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "# tag:clarkevans.com,2002:circle", "color": "#608b4e" } ], [ { "text": "-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!circle", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "center", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "&ORIGIN", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": "x", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "73", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "y", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "129", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "radius", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "7", "color": "#ffffff" } ], [ { "text": "-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!line", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "start", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*ORIGIN", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "finish", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "{", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "x", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "89", "color": "#ffffff" }, { "text": ",", "color": "#ffff00" }, { "text": " ", "color": "#ffffff" }, { "text": "y", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "102", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "}", "color": "#ffff00" } ], [ { "text": "-", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "!label", "color": "#569cd6" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "start", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "*ORIGIN", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "color", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "0xFFEEBB", "color": "#ffffff" } ], [ { "text": "  ", "color": "#ffffff" }, { "text": "text", "color": "#3dc9b0" }, { "text": ":", "color": "#ffffff" }, { "text": " ", "color": "#ffffff" }, { "text": "Pretty vector drawing.", "color": "#ce9178" } ], [ { "text": " ", "color": "#ffffff" } ] ] } } ]