This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>CodeMirror: Bug testcase - marijnh/CodeMirror2</title> | |
<link rel="stylesheet" href="../lib/codemirror.css"> | |
<script src="../lib/codemirror.js"></script> | |
<script src="../mode/css/css.js"></script> | |
<link rel="stylesheet" href="../doc/docs.css"> | |
<style type="text/css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function findSequence(goal) { | |
function find(start, history) { | |
if (start == goal) | |
return history; | |
else if (start > goal) | |
return null; | |
else | |
return find(start + 5, "(" + history + " + 5)") || return find(start + 5, "(" + history + " + 5)") || return find(start + 5, "(" + history + " + 5)") || return find(start + 5, "(" + history + " + 5)") || | |
find(start * 3, "(" + history + " * 3)"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Batched changes bug</title> | |
<link rel="stylesheet" href="lib/codemirror.css"> | |
<script src="lib/codemirror.js"></script> | |
<script src="mode/javascript/javascript.js"></script> | |
<link rel="stylesheet" href="doc/docs.css"> | |
<style type="text/css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Require root module | |
*/ | |
define(function (require, exports, module) { | |
"use strict"; | |
var ModuleA = require("packageA/moduleA"), | |
ModuleB = require("./packageB/moduleB"); | |
console.log("Modules loaded:", ModuleA, ModuleB); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DEPRECATED: See "Expand All Comments" at https://gist.github.com/peterflynn/ace5dd3d7a8ec645cd42 for | |
// a more up to date, maintained version of this. | |
// Original bookmarklet from this gist (does not work anymore): | |
// javascript:(function() { $(".outdated-diff-comment-container").addClass("open"); }()); | |
// Newer, working version (from link above as of Jan 2017): | |
// javascript:(function() { document.querySelectorAll(".outdated-diff-comment-container").forEach(function(n) {n.classList.add("open")}) }()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ | |
/*global define, brackets, $, CSSLint */ | |
define(function (require, exports, module) { | |
"use strict"; | |
// Brackets modules | |
var Linting = brackets.getModule("language/Linting"); | |
// Load CSSLint library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4 */ | |
/*global exports, require */ | |
(function () { | |
"use strict"; | |
var CommandManager = require("command/CommandManager"), | |
Menus = require("command/Menus"); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license MelonJS Game Engine | |
* @copyright (C) 2011 - 2013 Olivier Biot, Jason Oster | |
* http://www.melonjs.org | |
* | |
* melonJS is licensed under the MIT License. | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Brackets Helper [385] | |
Path: /Applications/Brackets.app/Contents/Frameworks/Brackets Helper.app/Contents/MacOS/Brackets Helper | |
Identifier: org.cef.cefclient.helper | |
Version: ??? | |
Code Type: X86 (Native) | |
Parent Process: Brackets [382] | |
Responsible: Brackets [382] | |
User ID: 501 | |
Date/Time: 2014-03-25 10:24:07.269 +0100 |
OlderNewer