Ace (Ajax.org Cloud9 Editor)
146 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | doc/site/js/jquery.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f |
| CRITICAL | src/autocomplete_test.js | 510 | assert.ok(editor.completer.popup.renderer.container.classList.contains("ace_empty-message")); |
| CRITICAL | src/autocomplete_test.js | 541 | assert.ok(editor.completer.popup.renderer.container.classList.contains("ace_empty-message")); |
| CRITICAL | src/autocomplete_test.js | 550 | assert.ok(!editor.completer.popup.renderer.container.classList.contains("ace_empty-message")); |
| CRITICAL | src/autocomplete_test.js | 1073 | return completer.popup.renderer.container.classList.contains("ace_loading"); |
| CRITICAL | src/autocomplete_test.js | 1104 | return completer.popup.renderer.container.classList.contains("ace_loading"); |
| CRITICAL | src/autocomplete_test.js | 1133 | return completer.popup.renderer.container.classList.contains("ace_loading"); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Makefile.dryice.js | 182 | function correctDeclarationsForBuild(path, additionalDeclarations) { |
| LOW | types/ace-lib.d.ts | 118 | export function addMultiMouseDownListener(elements: any, timeouts: any, eventHandler: any, callbackName: any, destro |
| LOW | types/ace-modules.d.ts | 3183 | export function retrievePrecedingIdentifier(text: any, pos: any, regex: any): string; |
| LOW | types/ace-modules.d.ts | 3184 | export function retrieveFollowingIdentifier(text: any, pos: any, regex: any): any[]; |
| LOW | types/ace-modules.d.ts | 4979 | export function IncrementalSearchKeyboardHandler(iSearch: any): void; |
| LOW | types/ace-ext.d.ts | 989 | export function getEditorKeybordShortcuts(editor: import("ace-code/src/editor").Editor): any[]; |
| LOW | lib/ace/mode/html/saxparser.js | 2371 | function isWhitespaceOrReplacementCharacter(ch) { |
| LOW | lib/ace/mode/html/saxparser.js | 2384 | function isAllWhitespaceOrReplacementCharacters(characters) { |
| LOW | lib/ace/mode/html/saxparser.js | 4845 | function isActiveFormattingElement(el) { |
| LOW | lib/ace/mode/lua/luaparse.js | 1087 | function readUnicodeEscapeSequence() { |
| LOW | lib/ace/mode/lua/luaparse.js | 2073 | function parseAssignmentOrCallStatement(flowContext) { |
| LOW | lib/ace/mode/lua/luaparse.js | 2422 | function parsePrefixExpressionPart(base, marker, flowContext) { |
| LOW | lib/ace/mode/coffee/coffee.js | 10 | var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3481 | function resolveJavascriptFunction(data) { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3502 | function constructJavascriptFunction(data) { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3506 | function representJavascriptFunction(object /*, style*/) { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3548 | function constructJavascriptRegExp(data) { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3562 | function representJavascriptRegExp(object /*, style*/) { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3589 | function resolveJavascriptUndefined() { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3593 | function constructJavascriptUndefined() { |
| LOW | lib/ace/mode/yaml/yaml-lint.js | 3598 | function representJavascriptUndefined() { |
| LOW | lib/ace/mode/javascript/jshint.js | 3566 | function createPredicateIndexFinder(dir) { |
| LOW | lib/ace/mode/javascript/jshint.js | 7787 | function comprehensiveArrayExpression(context) { |
| LOW | lib/ace/mode/javascript/jshint.js | 8613 | function destructuringPatternRecursive(context, options) { |
| LOW | lib/ace/mode/javascript/jshint.js | 8778 | function destructuringPatternMatch(tokens, value) { |
| LOW | lib/ace/mode/javascript/jshint.js | 10550 | function destructuringAssignOrJsonValue(context) { |
| LOW | lib/ace/mode/javascript/jshint.js | 11756 | function isNonAsciiIdentifierStart(code) { |
| LOW | lib/ace/mode/javascript/jshint.js | 15254 | function usedSoFarInCurrentFunction(bindingName) { |
| LOW | tool/tmlanguage.js | 99 | function convertToNonCapturingGroups(str) { |
| LOW | tool/tmlanguage.js | 108 | function simplifyNonCapturingGroups(str) { |
| LOW | tool/modes-declaration-generator.js | 111 | function generateModuleDeclarations(dirPath) { |
| LOW | tool/modes-declaration-generator.js | 160 | function generateModesDeclarationFile() { |
| LOW | tool/ace_declaration_generator.js | 37 | function getParsedConfigFromDirectory(directoryPath) { |
| LOW | tool/ace_declaration_generator.js | 58 | function generateInitialDeclaration(excludeDir) { |
| LOW | tool/ace_declaration_generator.js | 158 | function updateKeysAndLinksStatements(node, internalStatements) { |
| LOW | tool/ace_declaration_generator.js | 179 | function updateModuleWithInternalStatements(node, internalStatements) { |
| LOW | tool/ace_declaration_generator.js | 475 | function createMinimalLanguageServiceHost() { |
| LOW | tool/ace_declaration_generator.js | 660 | function updateDeclarationModuleNames(content) { |
| LOW | src/edit_session_test.js | 357 | function computeAndAssert(line, assertEqual, wrapLimit, tabSize) { |
| LOW | src/ext/diff/diff_test.js | 480 | function assertDecoratorsPlacement(editor, inlineDiff) { |
| LOW | src/ext/diff/providers/default.js | 572 | function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) { |
| LOW | src/ext/diff/providers/default.js | 987 | function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) { |
| LOW | src/ext/diff/providers/default.js | 1280 | function reportDecreasingAligningPositions(s12, s22) { |
| LOW | src/ext/diff/providers/default.js | 1674 | function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) { |
| LOW | src/ext/diff/providers/default.js | 1855 | function joinCloseConsecutiveMoves(moves) { |
| LOW | src/ext/diff/providers/default.js | 1893 | function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) { |
| LOW | src/ext/diff/providers/default.js | 1970 | function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) { |
| LOW | src/ext/diff/providers/default.js | 2014 | function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs, findParent, force = false) { |
| LOW | src/ext/diff/providers/default.js | 2085 | function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) { |
| LOW | src/ext/diff/providers/default.js | 2121 | function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) { |
| LOW | src/ext/diff/providers/default.js | 2259 | function getOrCreateHash(text) { |
| LOW | src/lib/event.js | 10 | function detectListenerOptionsSupport() { |
| LOW | src/commands/incremental_search_commands.js | 134 | function IncrementalSearchKeyboardHandler(iSearch) { |
| LOW | src/keyboard/vim.js | 965 | function updateSelectionForSurrogateCharacters(cm, curStart, curEnd) { |
| LOW | src/keyboard/vim.js | 4554 | function findFirstNonWhiteSpaceCharacter(text) { |
| LOW | src/keyboard/vim.js | 4676 | function recordLastCharacterSearch(increment, args) { |
| LOW | src/keyboard/vim.js | 5900 | function findNextFromAndToInclusive(cm, prev, query, repeat, vim) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | demo/kitchen-sink/docs/plaintext.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 7 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 7 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 11 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip |
| LOW | demo/kitchen-sink/docs/plaintext.txt | 11 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip |
| LOW | experiments/basic_animation.html | 95 | <div id="top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 95 | <div id="top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 116 | <div id="slide-top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 116 | <div id="slide-top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 136 | <div id="slide-bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 136 | <div id="slide-bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 157 | <div id="bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | experiments/basic_animation.html | 157 | <div id="bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, |
| LOW | src/token_iterator_test.js | 65 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit,", |
| LOW | src/token_iterator_test.js | 65 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit,", |
| LOW | src/editor_highlight_selected_word_test.js | 12 | var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + |
| LOW | src/editor_highlight_selected_word_test.js | 12 | var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + |
| LOW | src/editor_highlight_selected_word_test.js | 22 | "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " + |
| LOW | src/editor_highlight_selected_word_test.js | 22 | "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " + |
| LOW | src/mode/_test/tokens_text.json | 3 | ["text","Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et |
| LOW | src/mode/_test/tokens_text.json | 3 | ["text","Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et |
| LOW | src/mode/_test/tokens_text.json | 8 | ["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu |
| LOW | src/mode/_test/tokens_text.json | 8 | ["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu |
| LOW | src/mode/_test/tokens_text.json | 18 | ["text","Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer |
| LOW | src/mode/_test/tokens_text.json | 18 | ["text","Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer |
| LOW | src/mode/_test/tokens_text.json | 28 | ["text","At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus e |
| LOW | src/mode/_test/tokens_text.json | 28 | ["text","At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus e |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | demo/kitchen-sink/docs/terraform.tf | 57 | # Define the common tags for all resources |
| MEDIUM | demo/kitchen-sink/docs/terraform.tf | 65 | # Create a resource that blends the common tags with instance-specific tags. |
| MEDIUM | src/snippets/java.snippets.js | 84 | ## Create a Method |
| MEDIUM | src/snippets/java.snippets.js | 88 | ## Create a Variable |
| MEDIUM | src/snippets/edifact.snippets.js | 84 | ## Create a Method |
| MEDIUM | src/snippets/edifact.snippets.js | 88 | ## Create a Variable |
| MEDIUM | src/snippets/wollok.snippets.js | 38 | ## Create a Method |
| MEDIUM | src/mode/_test/tokens_mips.json | 25 | ["comment.assembly","# Define the program instructions."] |
| MEDIUM | src/mode/_test/tokens_mips.json | 83 | ["comment.assembly","# Define the program data."] |
| MEDIUM | src/mode/_test/tokens_velocity.json | 45 | ["comment","## Define the items to iterate"] |
| MEDIUM | src/mode/_test/tokens_terraform.json | 380 | ["singleline.comment.terraform","# Define the common tags for all resources"] |
| MEDIUM | src/mode/_test/tokens_terraform.json | 420 | ["singleline.comment.terraform","# Create a resource that blends the common tags with instance-specific tags."] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | _config.yml | 1 | # Config file for Jekyll, which is used by GH pages to build the Ace website. |
| LOW | lib/ace/mode/xquery/jsoniq_lexer.js | 121 | lookahead1W(14); // ModuleDecl | Annotation | OptionDecl | Operator | Variable | Tag | AttrTest | |
| LOW | lib/ace/mode/xquery/jsoniq_lexer.js | 581 | // 'and' | 'as' | 'ascending' | 'at' | 'attribute' | 'base-uri' | 'before' | |
| LOW | lib/ace/mode/xquery/jsoniq_lexer.js | 601 | whitespace(); |
| LOW | lib/ace/mode/xquery/xquery_lexer.js | 121 | lookahead1W(14); // ModuleDecl | Annotation | OptionDecl | Operator | Variable | Tag | AttrTest | |
| LOW | lib/ace/mode/xquery/xquery_lexer.js | 581 | // 'and' | 'as' | 'ascending' | 'at' | 'attribute' | 'base-uri' | 'before' | |
| LOW | lib/ace/mode/xquery/xquery_lexer.js | 601 | whitespace(); |
| LOW | lib/ace/mode/html/saxparser.js | 9081 | // Copyright (c) 2009 Thomas Robinson <280north.com> |
| LOW | lib/ace/mode/html/saxparser.js | 9441 | return arg && typeof arg === 'object' |
| LOW | lib/ace/mode/html/saxparser.js | 10041 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | lib/ace/mode/lua/luaparse.js | 21 | // identifier-node. |
| LOW | lib/ace/mode/lua/luaparse.js | 581 | // Example: |
| LOW | lib/ace/mode/lua/luaparse.js | 621 | return raise(found, errors.unexpected, 'symbol', found, near); |
| LOW | lib/ace/mode/lua/luaparse.js | 2561 | // - `wait` Hold parsing until end() is called. Defaults to false |
| LOW | lib/ace/mode/xml/dom.js | 1001 | case DOCUMENT_FRAGMENT_NODE: |
| LOW | lib/ace/mode/javascript/jshint.js | 7621 | } |
| LOW | lib/ace/mode/javascript/jshint.js | 7681 | } |
| LOW | lib/ace/mode/javascript/jshint.js | 17801 | |
| LOW | lib/ace/mode/javascript/jshint.js | 17821 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| LOW | lib/ace/mode/javascript/jshint.js | 18201 | // "Software"), to deal in the Software without restriction, including |
| LOW | lib/ace/mode/javascript/jshint.js | 18781 | return Object.prototype.hasOwnProperty.call(obj, prop); |
| LOW | tool/wrap_keyword_regexp.js | 1 | // a little script to turn giant keyword regexps into |
| LOW | src/virtual_renderer.js | 161 | config.resetOptions(this); |
| LOW | src/snippets/velocity.snippets.js | 1 | module.exports = `# macro |
| LOW | src/test/asyncjs/assert.js | 1 | // http://wiki.commonjs.org/wiki/Unit_Testing/1.0 |
| LOW | src/test/asyncjs/assert.js | 21 | // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| LOW | src/mode/csound_preprocessor_highlight_rules.js | 61 | { |
| LOW | src/ext/textarea.js | 101 | // properties have to get recomputed to get the new/true pixels. |
| LOW | src/keyboard/vim.js | 1521 | function maybeInitVimState(cm) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/snippets/python.snippets.js | 62 | elif \${1:condition}: |
| HIGH | src/snippets/python.snippets.js | 157 | elif option in ("-v", "--verbose"): |
| HIGH | src/snippets/sh.snippets.js | 10 | elif [[ \${1:condition} ]]; then |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | src/snippets/sh.snippets.js | 51 | #=============================================================================== |
| MEDIUM | src/snippets/sh.snippets.js | 65 | #----------------------------------------------------------------------- |
| MEDIUM | src/snippets/sh.snippets.js | 67 | #----------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | index.html | 337 | <p>Here's how you can perform a replace:</p> |
| MEDIUM | index.html | 654 | <p>You'll be defining your code folding rules into the <em>lib/ace/mode/folding</em> fol |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | demo/kitchen-sink/docs/perl.pl | 17 | # Check if the current number is divisible by any previous prime |
| LOW | src/mode/_test/tokens_velocity.json | 80 | ["comment","## Iterate over the items and output the evens."] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/ace/mode/html/saxparser.js | 5193 | // Step 1: stop if there's nothing to do |