The main class required to set up an Ace instance in the browser.
- -diff --git a/node_modules/ace/api/ace.html b/node_modules/ace/api/ace.html deleted file mode 100644 index c0f40b1d..00000000 --- a/node_modules/ace/api/ace.html +++ /dev/null @@ -1,149 +0,0 @@ - -
The main class required to set up an Ace instance in the browser.
- -Creates a new EditSession, and returns the associated Document.
Creates a new EditSession, and returns the associated Document.
| text | Document | String | Required. If |
| mode | TextMode | Required. The inital language mode to use for the document - |
Embeds the Ace editor into the DOM, at the element provided by el.
Embeds the Ace editor into the DOM, at the element provided by el.
| el | String | DOMElement | Required. Either the id of an element, or the element itself - |
Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated.
- -Fires whenever the anchor position changes.
- -Fires whenever the anchor position changes.
-Both of these objects have a row and column property corresponding to the position.
Events that can trigger this function include setPosition().
| e | Object | Required. An object containing information about the anchor position. It has two properties: -
|
When called, the 'change' event listener is removed.
When called, the 'change' event listener is removed.
Returns the current document.
- -Returns the current document.
- -Returns an object identifying the row and column position of the current anchor.
Returns an object identifying the row and column position of the current anchor.
Sets the anchor position to the specified row and column. If noClip is true, the position is not clipped.
Sets the anchor position to the specified row and column. If noClip is true, the position is not clipped.
| row | Number | Required. The row index to move the anchor to - |
| column | Number | Required. The column index to move the anchor to - |
| noClip | Boolean | Required. Identifies if you want the position to be clipped - |
Tokenizes the current Document in the background, and caches the tokenized rows for future use.
If a certain row is changed, everything below that row is re-tokenized.
- -Fires whenever the background tokeniziers between a range of rows are going to be updated.
- -Fires whenever the background tokeniziers between a range of rows are going to be updated.
- -| e | Object | Required. An object containing two properties, |
Emits the 'update' event. firstRow and lastRow are used to define the boundaries of the region to be updated.
Stops tokenizing.
- -Stops tokenizing.
- -new CommandManager(platform, commands)
- -Contains the text of the document. Document can be attached to several EditSessions.
At its core, Documents are just an array of strings, with each row in the document matching up to the array index.
Fires whenever the document changes.
- -Fires whenever the document changes.
-Several methods trigger different "change" events. Below is a list of each action type, followed by each property that's also available:
"insertLines" (emitted by Document.insertLines())range: the Range of the change within the documentlines: the lines in the document that are changing"insertText" (emitted by Document.insertNewLine())range: the Range of the change within the documenttext: the text that's being added"removeLines" (emitted by Document.insertLines())range: the Range of the change within the documentlines: the lines in the document that were removednl: the new line character (as defined by Document.getNewLineCharacter())"removeText" (emitted by Document.removeInLine() and Document.removeNewLine())range: the Range of the change within the documenttext: the text that's being removed| e | Object | Required. Contains at least one property called |
Applies all the changes previously accumulated. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.
Applies all the changes previously accumulated. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.
| deltas | Object | Required. - |
Returns all lines in the document as string array.
- -Returns all lines in the document as string array. Warning: The caller should not modify this array!
- -Returns the number of rows in the document.
- -Returns the number of rows in the document.
- -Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.
Returns the newline character that's being used, depending on the value of newLineMode.
Returns the newline character that's being used, depending on the value of newLineMode.
Returns the type of newlines being used; either windows, unix, or auto
Returns the type of newlines being used; either windows, unix, or auto
Given a range within the document, this function returns all the text within that range as a single string.
- -Given a range within the document, this function returns all the text within that range as a single string.
- -| range | Range | Required. The range to work with - |
Returns all the lines in the document as a single string, split by the new line character.
- -Returns all the lines in the document as a single string, split by the new line character.
- -Converts an index position in a document to a {row, column} object.
Converts an index position in a document to a {row, column} object.
Index refers to the "absolute position" of a character in the document. For example:
-var x = 0; // 10 characters, plus one for newline
-var y = -1;
-Here, y is an index 15: 11 characters for the first row, and 5 characters until y in the second.
| index | Number | Required. An index to convert - |
| startRow | Number | Required. =0 The row from which to start the conversion - |
Inserts text into the position at the current row. This method also triggers the 'change' event.
Inserts the elements in lines into the document, starting at the row index given by row. This method also triggers the 'change' event.
Inserts a new line into the document at the current row's position. This method also triggers the 'change' event.
Inserts a new line into the document at the current row's position. This method also triggers the 'change' event.
| position | Object | Required. The position to insert at - |
Converts the {row, column} position in a document to the character's index.
Converts the {row, column} position in a document to the character's index.
Index refers to the "absolute position" of a character in the document. For example:
-var x = 0; // 10 characters, plus one for newline
-var y = -1;
-Here, y is an index 15: 11 characters for the first row, and 5 characters until y in the second.
| pos | Object | Required. The |
| startRow | Number | Required. =0 The row from which to start the conversion - |
Removes the specified columns from the row. This method also triggers the 'change' event.
Removes the new line between row and the row immediately following it. This method also triggers the 'change' event.
Removes the new line between row and the row immediately following it. This method also triggers the 'change' event.
| row | Number | Required. The row to check - |
Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.
Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.
| deltas | Object | Required. - |
Sets up a new EditSession and associates it with the given Document and TextMode.
Sets up a new EditSession and associates it with the given Document and TextMode.
| text | Document | String | Required. If |
| mode | TextMode | Required. The inital language mode to use for the document - |
Emitted when an annotation changes, like through EditSession.setAnnotations().
Emitted when an annotation changes, like through EditSession.setAnnotations().
Emitted when a back marker changes.
- -Emitted when a back marker changes.
- -Emitted when the gutter changes, either by setting or removing breakpoints, or when the gutter decorations change.
- -Emitted when the gutter changes, either by setting or removing breakpoints, or when the gutter decorations change.
- -Emitted when a code fold is added or removed.
- -Emitted when a code fold is added or removed.
- -Emitted when a front marker changes.
- -Emitted when a front marker changes.
- -Emitted when the current mode changes.
- -Emitted when the current mode changes.
- -Emitted when the ability to overwrite text changes, via EditSession.setOverwrite().
Emitted when the ability to overwrite text changes, via EditSession.setOverwrite().
Emitted when the tab size changes, via EditSession.setTabSize().
Emitted when the tab size changes, via EditSession.setTabSize().
Emitted when the wrapping limit changes.
- -Emitted when the wrapping limit changes.
- -Emitted when the wrap mode changes.
- -Emitted when the wrap mode changes.
- -Emitted when a background tokenizer asynchronously processes new rows.
- -Emitted when a background tokenizer asynchronously processes new rows.
- -| e | Object | Required. An object containing one property, |
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
| range | Range | Required. Define the range of the marker - |
| clazz | String | Required. Set the CSS class for the marker - |
| type | Function | String | Required. Identify the type of the marker - |
| inFront | Boolean | Required. Set to |
Clears all the annotations for this session. This function also triggers the 'changeAnnotation' event.
Clears all the annotations for this session. This function also triggers the 'changeAnnotation' event.
Removes a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.
Removes a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.
| row | Number | Required. A row index - |
Removes all breakpoints on the rows. This function also emites the 'changeBreakpoint' event.
Removes all breakpoints on the rows. This function also emites the 'changeBreakpoint' event.
Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications.
- -Returns the annotations for the EditSession.
Returns the annotations for the EditSession.
Returns an array of numbers, indicating which rows have breakpoints.
- -Returns an array of numbers, indicating which rows have breakpoints.
- -Returns the Document associated with this session.
Returns the Document associated with this session.
Returns the number of rows in the document.
- -Returns the number of rows in the document.
- -Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.
Returns an array containing the IDs of all the markers, either front or back.
- -Returns an array containing the IDs of all the markers, either front or back.
- -| inFront | Boolean | Required. If |
Returns the current text mode.
- -Returns the current text mode.
- -Returns the current new line mode.
- -Returns the current new line mode.
- -Returns true if overwrites are enabled; false otherwise.
Returns true if overwrites are enabled; false otherwise.
Returns the position (on screen) for the last character in the provided screen row.
- -Returns the position (on screen) for the last character in the provided screen row.
- -| screenRow | Number | Required. The screen row to check - |
Returns the length of the screen.
- -Returns the length of the screen.
- -The distance to the next tab stop at the specified screen column.
- -The distance to the next tab stop at the specified screen column.
- -| screenColumn | Number | Required. The screen column to check - |
Returns the width of the screen.
- -Returns the width of the screen.
- -Returns the value of the distance between the left of the editor and the leftmost part of the visible content.
- -Returns the value of the distance between the left of the editor and the leftmost part of the visible content.
- -Returns the value of the distance between the top of the editor and the topmost part of the visible content.
- -Returns the value of the distance between the top of the editor and the topmost part of the visible content.
- -Returns the string of the current selection.
- -Returns the string of the current selection.
- -Returns the current tab size.
- -Returns the current tab size.
- -Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
Given a range within the document, this function returns all the text within that range as a single string.
- -Given a range within the document, this function returns all the text within that range as a single string.
- -| range | Range | Required. The range to work with - |
Returns an object indicating the token at the current row. The object has two properties: index and start.
Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.
- -Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.
- -| row | Number | Required. The row to start at - |
Returns the current undo manager.
- -Returns the current undo manager.
- -Returns true if soft tabs are being used, false otherwise.
Returns true if soft tabs are being used, false otherwise.
Returns true if workers are being used.
Returns true if workers are being used.
Returns true if wrap mode is being used; false otherwise.
Returns true if wrap mode is being used; false otherwise.
Given a starting row and column, this method returns the Range of the first word boundary it finds.
Returns the value of wrap limit.
- -Returns the value of wrap limit.
- -Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:
- -Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:
-{ min: wrapLimitRange_min, max: wrapLimitRange_max }
- -Indents all the rows, from startRow to endRow (inclusive), by prefixing each row with the token in indentString.
Indents all the rows, from startRow to endRow (inclusive), by prefixing each row with the token in indentString.
If indentString contains the '\t' character, it's replaced by whatever is defined by getTabString().
| startRow | Number | Required. Starting row - |
| endRow | Number | Required. Ending row - |
| indentString | String | Required. The indent token - |
Shifts all the lines in the document down one, starting from firstRow and ending at lastRow.
Shifts all the lines in the document up one, starting from firstRow and ending at lastRow.
Moves a range of text from the given range to the given position. toPosition is an object that looks like this:
{ row: newRowLocation, column: newColumnLocation }
-
- Moves a range of text from the given range to the given position. toPosition is an object that looks like this:
{ row: newRowLocation, column: newColumnLocation }
-
- | fromRange | Range | Required. The range of text you want moved within the document - |
| toPosition | Object | Required. The location (row and column) where you want to move the text to - |
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
| e | Object | Required. - |
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
| markerId | Number | Required. A number representing a marker - |
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
- -Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
- -| screenRow | Number | Required. The screen row to check - |
| screenColumn | Number | Required. The screen column to check - |
Sets annotations for the EditSession. This functions emits the 'changeAnnotation' event.
Sets annotations for the EditSession. This functions emits the 'changeAnnotation' event.
| annotations | Array | Required. A list of annotations - |
Sets a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.
Sets a breakpoint on every row number given by rows. This function also emites the 'changeBreakpoint' event.
Sets a breakpoint on every row number given by rows. This function also emites the 'changeBreakpoint' event.
| rows | Array | Required. An array of row indices - |
Sets the EditSession to point to a new Document. If a BackgroundTokenizer exists, it also points to doc.
Sets the EditSession to point to a new Document. If a BackgroundTokenizer exists, it also points to doc.
| doc | Document | Required. The new |
Pass in true to enable overwrites in your session, or false to disable.
Pass in true to enable overwrites in your session, or false to disable.
If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
| overwrite | Boolean | Required. Defines wheter or not to set overwrites - |
Sets the value of the distance between the left of the editor and the leftmost part of the visible content.
- -Sets the value of the distance between the left of the editor and the leftmost part of the visible content.
- -| scrollLeft | Object | Required. - |
This function sets the scroll top value. It also emits the 'changeScrollTop' event.
This function sets the scroll top value. It also emits the 'changeScrollTop' event.
| scrollTop | Number | Required. The new scroll top value - |
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
| tabSize | Number | Required. The new tab size - |
Sets the undo manager.
- -Enables or disables highlighting of the range where an undo occured.
- -Enables or disables highlighting of the range where an undo occured.
- -| enable | Boolean | Required. If |
Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character ('\t').
Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character ('\t').
| useSoftTabs | Boolean | Required. Value indicating whether or not to use soft tabs - |
Sets whether or not line wrapping is enabled. If useWrapMode is different than the current value, the 'changeWrapMode' event is emitted.
Sets whether or not line wrapping is enabled. If useWrapMode is different than the current value, the 'changeWrapMode' event is emitted.
| useWrapMode | Boolean | Required. Enable (or disable) wrap mode - |
Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.
Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.
| min | Number | Required. The minimum wrap value (the left side wrap) - |
| max | Number | Required. The maximum wrap value (the right side wrap) - |
Sets the value of overwrite to the opposite of whatever it currently is.
- -Sets the value of overwrite to the opposite of whatever it currently is.
- -The main entry point into the Ace functionality.
-The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen.
Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.
Creates a new Editor object.
Creates a new Editor object.
| renderer | VirtualRenderer | Required. Associated |
| session | EditSession | Required. The |
Emitted once the editor has been blurred.
- -Emitted once the editor has been blurred.
- -Emitted when the selection style changes, via Editor.setSelectionStyle().
Emitted when the selection style changes, via Editor.setSelectionStyle().
| data | Object | Required. Contains one property, |
Emitted whenever the EditSession changes.
Emitted whenever the EditSession changes.
| e | Object | Required. An object with two properties, |
Emitted once the editor comes into focus.
- -Emitted once the editor comes into focus.
- -Emitted when text is pasted.
- -Emitted when text is pasted.
- -| e | Object | Required. An object which contains one property, |
Aligns the cursors or selected text.
- -Aligns the cursors or selected text.
- -Outdents the current line.
- -Outdents the current line.
- -Blurs the current textInput.
Blurs the current textInput.
Attempts to center the current selection on the screen.
- -Attempts to center the current selection on the screen.
- -Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.
Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.
Copies all the selected lines down one row.
- -Copies all the selected lines down one row.
- -Copies all the selected lines up one row.
- -Copies all the selected lines up one row.
- -Cleans up the entire editor.
- -Cleans up the entire editor.
- -Removes all the selections except the last added one.
- -Removes all the selections except the last added one.
- -Attempts to find needle within the document. For more information on options, see Search.
Performs another search for needle in the document. For more information on options, see Search.
Brings the current textInput into focus.
Brings the current textInput into focus.
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
Returns the string of text currently highlighted.
- -Returns the string of text currently highlighted.
- -Gets the current position of the cursor.
- -Gets the current position of the cursor.
- -Returns the screen position of the cursor.
- -Returns the screen position of the cursor.
- -Returns the current mouse drag delay.
- -Returns the current mouse drag delay.
- -Returns the index of the first visible row.
- -Returns the index of the first visible row.
- -Returns true if current lines are always highlighted.
Returns true if current lines are always highlighted.
Returns true if currently highlighted words are to be highlighted.
Returns true if currently highlighted words are to be highlighted.
Returns the keyboard handler, such as "vim" or "windows".
- -Returns the keyboard handler, such as "vim" or "windows".
- -Returns the index of the last visible row.
- -Returns the index of the last visible row.
- -Works like EditSession.getTokenAt(), except it returns a number.
Works like EditSession.getTokenAt(), except it returns a number.
| row | Object | Required. - |
| column | Object | Required. - |
Returns true if overwrites are enabled; false otherwise.
Returns true if overwrites are enabled; false otherwise.
Returns the column number of where the print margin is.
- -Returns the column number of where the print margin is.
- -Returns true if the editor is set to read-only mode.
Returns true if the editor is set to read-only mode.
Returns the value indicating how fast the mouse scroll speed is (in milliseconds).
- -Returns the value indicating how fast the mouse scroll speed is (in milliseconds).
- -Returns the currently highlighted selection.
- -Returns the currently highlighted selection.
- -Returns the current selection style.
- -Returns the current selection style.
- -Returns the current session being used.
- -Returns the current session being used.
- -Returns true if the fold widgets are shown.
Returns true if the fold widgets are shown.
Returns true if invisible characters are being shown.
Returns true if invisible characters are being shown.
Returns true if the print margin is being shown.
Returns true if the print margin is being shown.
Returns the path of the current theme.
- -Returns the path of the current theme.
- -Returns the current session's content.
- -Returns the current session's content.
- -Returns true if the wrapping behaviors are currently enabled.
Returns true if the wrapping behaviors are currently enabled.
Moves the cursor to the specified line number, and also into the indiciated column.
- -Shifts the document to wherever "page down" is, as well as moving the cursor position.
- -Shifts the document to wherever "page down" is, as well as moving the cursor position.
- -Shifts the document to wherever "page up" is, as well as moving the cursor position.
- -Shifts the document to wherever "page up" is, as well as moving the cursor position.
- -Indents the current line.
- -Indents the current line.
- -Returns true if the current textInput is in focus.
Returns true if the current textInput is in focus.
If the character before the cursor is a number, this functions changes its value by amount.
If the character before the cursor is a number, this functions changes its value by amount.
| amount | Number | Required. The value to change the numeral by (can be negative to decrease value) - |
Moves the cursor to the specified row and column. Note that this does not de-select the current selection.
- -Shifts all the selected lines down one row.
- -Shifts all the selected lines down one row.
- -Shifts all the selected lines up one row.
- -Shifts all the selected lines up one row.
- -Moves the cursor to the end of the current file. Note that this does de-select the current selection.
- -Moves the cursor to the start of the current file. Note that this does de-select the current selection.
- -Moves the cursor to the end of the current line. Note that this does de-select the current selection.
- -Moves the cursor to the start of the current line. Note that this does de-select the current selection.
- -Moves the cursor to the word immediately to the left of the current position. Note that this does de-select the current selection.
- -Moves the cursor to the word immediately to the right of the current position. Note that this does de-select the current selection.
- -Called whenever a text "copy" happens.
- -Called whenever a text "copy" happens.
- -Emitted when the selection changes.
- -Emitted when the selection changes.
- -Called whenever a text "cut" happens.
- -Called whenever a text "cut" happens.
- -Perform a redo operation on the document, reimplementing the last change.
- -Perform a redo operation on the document, reimplementing the last change.
- -Removes words of text from the editor. A "word" is defined as a string of characters bookended by whitespace.
- -Removes words of text from the editor. A "word" is defined as a string of characters bookended by whitespace.
- -| dir | String | Required. The direction of the deletion to occur, either "left" or "right" - |
Removes all the lines in the current selection
- -Removes all the lines in the current selection
- -Removes the selection marker.
- -Removes the selection marker.
- -| The | Range | Required. selection range added with |
Removes all the words to the right of the current selection, until the end of the line.
- -Removes all the words to the right of the current selection, until the end of the line.
- -Removes all the words to the left of the current selection, until the start of the line.
- -Removes all the words to the left of the current selection, until the start of the line.
- -Removes the word directly to the left of the current selection.
- -Removes the word directly to the left of the current selection.
- -Removes the word directly to the right of the current selection.
- -Removes the word directly to the right of the current selection.
- -Scrolls the document to wherever "page down" is, without changing the cursor position.
- -Scrolls the document to wherever "page down" is, without changing the cursor position.
- -Scrolls the document to wherever "page up" is, without changing the cursor position.
- -Scrolls the document to wherever "page up" is, without changing the cursor position.
- -Scrolls to a line. If center is true, it puts the line in middle of screen (or attempts to).
Scrolls to a line. If center is true, it puts the line in middle of screen (or attempts to).
| line | Number | Required. The line to scroll to - |
| center | Boolean | Required. If |
| animate | Boolean | Required. If |
| callback | Function | Required. Function to be called when the animation has finished - |
Selects all the text in editor.
- -Selects all the text in editor.
- -Finds the next occurence of text in an active selection and adds it to the selections.
- -Selects the text from the current position of the document until where a "page down" finishes.
- -Selects the text from the current position of the document until where a "page down" finishes.
- -Selects the text from the current position of the document until where a "page up" finishes.
- -Selects the text from the current position of the document until where a "page up" finishes.
- -Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
- -Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
- -| enabled | Boolean | Required. Enables or disables behaviors - |
Determines whether or not the current line should be highlighted.
- -Determines whether or not the current line should be highlighted.
- -| shouldHighlight | Boolean | Required. Set to |
Determines if the currently selected word should be highlighted.
- -Determines if the currently selected word should be highlighted.
- -| shouldHighlight | Boolean | Required. Set to |
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
| overwrite | Boolean | Required. Defines wheter or not to set overwrites - |
If readOnly is true, then the editor is set to read-only mode, and none of the content can change.
If readOnly is true, then the editor is set to read-only mode, and none of the content can change.
| readOnly | Boolean | Required. Specifies whether the editor can be modified or not - |
Indicates how selections should occur.
- -Indicates how selections should occur.
-By default, selections are set to "line". There are no other styles at the moment, -although this code change in the future.
-This function also emits the 'changeSelectionStyle' event.
| style | String | Required. The new selection style - |
Sets a new editsession to use. This method also emits the 'changeSession' event.
Sets a new editsession to use. This method also emits the 'changeSession' event.
| session | EditSession | Required. The new session to use - |
If showInvisibles is set to true, invisible characters—like spaces or new lines—are show in the editor.
If showInvisibles is set to true, invisible characters—like spaces or new lines—are show in the editor.
| showInvisibles | Boolean | Required. Specifies whether or not to show invisible characters - |
If showPrintMargin is set to true, the print margin is shown in the editor.
If showPrintMargin is set to true, the print margin is shown in the editor.
| showPrintMargin | Boolean | Required. Specifies whether or not to show the print margin - |
Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.
Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.
| theme | String | Required. The path to a theme - |
Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets -when such a character is typed in.
- -Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets -when such a character is typed in.
- -| enabled | Boolean | Required. Enables or disables wrapping behaviors - |
Splits the line at the current selection (by inserting an '\n').
Splits the line at the current selection (by inserting an '\n').
Given the currently selected range, this function either comments all the lines, or uncomments all of them.
- -Given the currently selected range, this function either comments all the lines, or uncomments all of them.
- -Sets the value of overwrite to the opposite of whatever it currently is.
- -Sets the value of overwrite to the opposite of whatever it currently is.
- -Converts the current selection entirely into lowercase.
- -Converts the current selection entirely into lowercase.
- -Converts the current selection entirely into uppercase.
- -Converts the current selection entirely into uppercase.
- -Transposes current line.
- -Transposes current line.
- -Perform an undo operation on the document, reverting the last change.
- -Perform an undo operation on the document, reverting the last change.
- -Updates the cursor and marker layers.
- -Updates the cursor and marker layers.
- -Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We're used in a bunch of places already, like GitHub, Google, and Facebook.
-On the left, you'll find a list of all of our currently documented classes. There are plenty more to do, but these represent the "core" set. For more information on how to work with Ace, check out the main Ace website.
- - - - - - - -PlaceHolder.cancel()
- -PlaceHolder.cancel()
-TODO
- -PlaceHolder.detach()
- -PlaceHolder.detach()
-TODO
- -PlaceHolder.hideOtherMarkers()
- -PlaceHolder.hideOtherMarkers()
-Hides all over markers in the EditSession that are not the currently selected one.
PlaceHolder.setup()
- -PlaceHolder.setup()
-TODO
- -PlaceHolder.showOtherMarkers()
- -PlaceHolder.showOtherMarkers()
-TODO
- -This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.
- -Creates a new Range object with the given starting and ending row and column points.
Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new Range object.
Returns a duplicate of the calling range.
- -Returns a duplicate of the calling range.
- -Returns a range containing the starting and ending rows of the original range, but with a column value of 0.
Returns a range containing the starting and ending rows of the original range, but with a column value of 0.
Checks the row and column points of p with the row and column points of the calling range.
Checks the row and column points of p with the row and column points of the calling range.
| p | Range | Required. A point to compare with - |
Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:
this.start.row <= row <= this.end.row &&
- this.start.column <= column <= this.end.column
-
- Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:
this.start.row <= row <= this.end.row &&
- this.start.column <= column <= this.end.column
-
- | row | Number | Required. A row to check for - |
| column | Number | Required. A column to check for - |
Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.
Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.
| range | Range | Required. A range to compare with - |
Changes the row and column points for the calling range for both the starting and ending points.
- -Returns true if the caller's ending row point is the same as row, and if the caller's ending column is the same as column.
Returns true if and only if the starting row and column, and ending row and column, are equivalent to those given by range.
Returns true if and only if the starting row and column, and ending row and column, are equivalent to those given by range.
| range | Range | Required. A range to check against - |
Returns true if the range spans across multiple lines.
Returns true if the range spans across multiple lines.
Returns true if the caller's starting row point is the same as row, and if the caller's starting column is the same as column.
Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.
Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.
| session | EditSession | Required. The |
Returns a string containing the range's row and column information, given like this:
- [start.row/start.column] -> [end.row/end.column]
-
- Returns a string containing the range's row and column information, given like this:
- [start.row/start.column] -> [end.row/end.column]
-
- Batches changes (that force something to be redrawn) in the background.
- --// elements on the page and add the "prettyprint" style. If at least one -// prettyprint element was found, call the Google Prettify prettyPrint() API. -//http://sstatic.net/so/js/master.js?v=6523 -function styleCode() -{ - if (typeof disableStyleCode != "undefined") - { - return; - } - - var a = false; - - $("pre code").parent().each(function() - { - if (!$(this).hasClass("prettyprint")) - { - $(this).addClass("prettyprint"); - a = true - } - }); - - if (a) { prettyPrint() } -} \ No newline at end of file diff --git a/node_modules/ace/api/resources/javascripts/prettify.js b/node_modules/ace/api/resources/javascripts/prettify.js deleted file mode 100644 index eef5ad7e..00000000 --- a/node_modules/ace/api/resources/javascripts/prettify.js +++ /dev/null @@ -1,28 +0,0 @@ -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p =5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), -l=[],p={},d=0,g=e.length;d =0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g =0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]+/],["dec",/^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^ ]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^ - - - - - - \ No newline at end of file diff --git a/node_modules/ace/api/search.html b/node_modules/ace/api/search.html deleted file mode 100644 index 61616063..00000000 --- a/node_modules/ace/api/search.html +++ /dev/null @@ -1,295 +0,0 @@ - - -\ No newline at end of file diff --git a/node_modules/ace/api/selection.html b/node_modules/ace/api/selection.html deleted file mode 100644 index 4da8f771..00000000 --- a/node_modules/ace/api/selection.html +++ /dev/null @@ -1,1781 +0,0 @@ - -- -- - - - - - -----Search -
- -- ----A class designed to handle all sorts of text searches within a
- -Document.Constructors
-- --------
-- -
--
- -- new Search()
----Creates a new
- -Searchobject. The following search options are avaliable:-Creates a new
-Searchobject. The following search options are avaliable:-
- -- -
needle: The string or regular expression you're looking for- -
backwards: Whether to search backwards from where cursor currently is. Defaults tofalse.- -
wrap: Whether to wrap the search back to the beginning when it hits the end. Defaults tofalse.- -
caseSensitive: Whether the search ought to be case-sensitive. Defaults tofalse.- -
wholeWord: Whether the search matches only on whole words. Defaults tofalse.- -
range: TheRangeto search within. Set this tonullfor the whole document- -
regExp: Whether the search is a regular expression or not. Defaults tofalse.- -
start: The startingRangeor cursor position to begin the search- -
skipCurrent: Whether or not to include the current line in the search. Default tofalse.Methods
-- --------
- - - -- -
--
- Search.find(EditSession session) -
- -
-
-- Range
----Searches for
- -options.needle. If found, this method returns theRangewhere the text first occurs. Ifoptions.backwardsistrue, the search goes backwards in the session.-Searches for
- -options.needle. If found, this method returns theRangewhere the text first occurs. Ifoptions.backwardsistrue, the search goes backwards in the session.Arguments
-
session EditSession Required. The session to search with
-- --------
- - - -- -
--
- Search.findAll(EditSession session) -
- -
-
-- Range
----Searches for all occurances
- -options.needle. If found, this method returns an array ofRanges where the text first occurs. Ifoptions.backwardsistrue, the search goes backwards in the session.-Searches for all occurances
- -options.needle. If found, this method returns an array ofRanges where the text first occurs. Ifoptions.backwardsistrue, the search goes backwards in the session.Arguments
-
session EditSession Required. The session to search with
-- --------
- - - -- -
--
- Search.getOptions() -
- -
-
-- Object
----Returns an object containing all the search options.
- --Returns an object containing all the search options.
- -- ---- -----Searches for
- -options.needleininput, and, if found, replaces it withreplacement.-Searches for
- -options.needleininput, and, if found, replaces it withreplacement.Arguments
-
input String Required. The text to search in
-replacement String Required. The replacing text
--
-- (String): If
-options.regExpistrue, this function returnsinputwith the replacement already made. Otherwise, this function just returnsreplacement.
-Ifoptions.needlewas not found, this function returnsnull.- - -- --------
-- -
--
- -- Search.setOptions()
--------diff --git a/node_modules/ace/api/split.html b/node_modules/ace/api/split.html deleted file mode 100644 index fd75edce..00000000 --- a/node_modules/ace/api/split.html +++ /dev/null @@ -1,640 +0,0 @@ - -- -- - - - - - -----Selection -
- -- ----Contains the cursor position and the text selection of an edit session.
-The row/columns used in the selection are in document coordinates representing the coordinates as they appear in the document before applying soft wrap and folding.
- -Constructors
-- --------
-- -
--
- -- new Selection(EditSession session)
---- -Creates a new
- -Selectionobject.Events
-- --------
-- -
--
- -- Selection.on("changeCursor", function())
----Emitted when the cursor position changes.
- --Emitted when the cursor position changes.
- -- --------
-- -
--
- -- Selection.on("changeSelection", function())
----Emitted when the cursor selection changes.
- --Emitted when the cursor selection changes.
- -Methods
-- ---- - --- --------
-- -
--
- -- Selection.clearSelection()
----Empties the selection (by de-selecting it). This function also emits the
- -'changeSelection'event.-Empties the selection (by de-selecting it). This function also emits the
- -'changeSelection'event.- --------
-- -
--
- -- Selection.detach()
-------- --------
-- -
--
- -- Selection.fromOrientedRange()
-------- --------
- - - -- -
--
- Selection.getAllRanges() -
- -
-
-- Array
----Returns a concatenation of all the ranges.
- --Returns a concatenation of all the ranges.
- -- --------
- - - -- -
--
- Selection.getCursor() -
- -
-
-- Number
----Gets the current position of the cursor.
- --Gets the current position of the cursor.
- -- --------
-- -
--
- -- Selection.getLineRange()
-------- - -- --------
- - - -- -
--
- Selection.getSelectionAnchor() -
- -
-
-- Object
----Returns an object containing the
- -rowandcolumnof the calling selection anchor.-Returns an object containing the
- -rowandcolumnof the calling selection anchor.- --------
- - - -- -
--
- Selection.getSelectionLead() -
- -
-
-- Object
----Returns an object containing the
- -rowandcolumnof the calling selection lead.-Returns an object containing the
- -rowandcolumnof the calling selection lead.- - -- --------
- - - -- -
--
- Selection.isBackwards() -
- -
-
-- Boolean
----Returns
- -trueif the selection is going backwards in the document.-Returns
- -trueif the selection is going backwards in the document.- --------
- - - -- -
--
- Selection.isEmpty() -
- -
-
-- Boolean
----Returns
- -trueif the selection is empty.-Returns
- -trueif the selection is empty.- --------
- - - -- -
--
- Selection.isMultiLine() -
- -
-
-- Boolean
----Returns
- -trueif the selection is a multi-line.-Returns
- -trueif the selection is a multi-line.- --------
-- -
--
- -- Selection.mergeOverlappingRanges()
----Merges overlapping ranges ensuring consistency after changes
- --Merges overlapping ranges ensuring consistency after changes
- -- ---- ----- -Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.
- -- --------
-- -
--
- -- Selection.moveCursorDown()
----Moves the cursor down one row.
- --Moves the cursor down one row.
- -- --------
-- -
--
- -- Selection.moveCursorFileEnd()
----Moves the cursor to the end of the file.
- --Moves the cursor to the end of the file.
- -- --------
-- -
--
- -- Selection.moveCursorFileStart()
----Moves the cursor to the start of the file.
- --Moves the cursor to the start of the file.
- -- --------
-- -
--
- -- Selection.moveCursorLeft()
----Moves the cursor left one column.
- --Moves the cursor left one column.
- -- --------
-- -
--
- -- Selection.moveCursorLineEnd()
----Moves the cursor to the end of the line.
- --Moves the cursor to the end of the line.
- -- --------
-- -
--
- -- Selection.moveCursorLineStart()
----Moves the cursor to the start of the line.
- --Moves the cursor to the start of the line.
- -- --------
-- -
--
- -- Selection.moveCursorLongWordLeft()
----Moves the cursor to the word on the left.
- --Moves the cursor to the word on the left.
- -- --------
-- -
--
- -- Selection.moveCursorLongWordRight()
----Moves the cursor to the word on the right.
- --Moves the cursor to the word on the right.
- -- --------
-- -
--
- -- Selection.moveCursorRight()
----Moves the cursor right one column.
- --Moves the cursor right one column.
- -- --------
-- -
--
- -- Selection.moveCursorShortWordLeft()
-------- --------
-- -
--
- -- Selection.moveCursorShortWordRight()
-------- ---- -----Moves the cursor to the row and column provided. If
- -preventUpdateDesiredColumnistrue, then the cursor stays in the same column position as its original point.-Moves the cursor to the row and column provided. If
- -preventUpdateDesiredColumnistrue, then the cursor stays in the same column position as its original point.Arguments
-
row Number Required. The row to move to
-column Number Required. The column to move to
-keepDesiredColumn Boolean Required. If
-true, the cursor move does not respect the previous column- - -- ------ -----Moves the cursor to the screen position indicated by row and column. If
- -preventUpdateDesiredColumnistrue, then the cursor stays in the same column position as its original point.-Moves the cursor to the screen position indicated by row and column. If
- -preventUpdateDesiredColumnistrue, then the cursor stays in the same column position as its original point.Arguments
-
row Number Required. The row to move to
-column Number Required. The column to move to
-keepDesiredColumn Boolean Required. If
-true, the cursor move does not respect the previous column- --------
-- -
--
- -- Selection.moveCursorUp()
----Moves the cursor up one row.
- --Moves the cursor up one row.
- -- --------
-- -
--
- -- Selection.moveCursorWordLeft()
-------- --------
-- -
--
- -- Selection.moveCursorWordRight()
-------- ------ - - - ----- -Gets list of ranges composing rectangular block on the screen
- -- --------
-- -
--
- -- Selection.selectAll()
----Selects all the text in the document.
- --Selects all the text in the document.
- -- --------
-- -
--
- -- Selection.selectAWord()
----Selects a word, including its right whitespace.
- --Selects a word, including its right whitespace.
- -- --------
-- -
--
- -- Selection.selectDown()
----Moves the selection down one row.
- --Moves the selection down one row.
- -- --------
-- -
--
- -- Selection.selectFileEnd()
----Moves the selection to the end of the file.
- --Moves the selection to the end of the file.
- -- --------
-- -
--
- -- Selection.selectFileStart()
----Moves the selection to the start of the file.
- --Moves the selection to the start of the file.
- -- --------
-- -
--
- -- Selection.selectLeft()
----Moves the selection left one column.
- --Moves the selection left one column.
- -- --------
-- -
--
- -- Selection.selectLine()
----Selects the entire line.
- --Selects the entire line.
- -- --------
-- -
--
- -- Selection.selectLineEnd()
----Moves the selection to the end of the current line.
- --Moves the selection to the end of the current line.
- -- --------
-- -
--
- -- Selection.selectLineStart()
----Moves the selection to the beginning of the current line.
- --Moves the selection to the beginning of the current line.
- -- --------
-- -
--
- -- Selection.selectRight()
----Moves the selection right one column.
- --Moves the selection right one column.
- -- ---- - --- - -- --------
-- -
--
- -- Selection.selectUp()
----Moves the selection up one row.
- --Moves the selection up one row.
- -- --------
-- -
--
- -- Selection.selectWord()
----Selects an entire word boundary.
- --Selects an entire word boundary.
- -- --------
-- -
--
- -- Selection.selectWordLeft()
----Moves the selection to the first word on the left.
- --Moves the selection to the first word on the left.
- -- --------
-- -
--
- -- Selection.selectWordRight()
----Moves the selection to the first word on the right.
- --Moves the selection to the first word on the right.
- -- ---- - --- ---- - --- --------
-- -
--
- -- Selection.shiftSelection(Number columns)
----Shifts the selection up (or down, if
- -isBackwards()is true) the given number of columns.-Shifts the selection up (or down, if
- -isBackwards()is true) the given number of columns.Arguments
-
columns Number Required. The number of columns to shift by
-- --------
-- -
--
- -- Selection.splitIntoLines()
----Splits all the ranges into lines.
- --Splits all the ranges into lines.
- -- - -- --------
-- -
--
- -- Selection.toggleBlockSelection()
-------- --------
-- -
--
- -- Selection.toOrientedRange()
-------- --------
-- -
--
- -- Selection.toSingleRange()
--------\ No newline at end of file diff --git a/node_modules/ace/api/token_iterator.html b/node_modules/ace/api/token_iterator.html deleted file mode 100644 index 7c025da0..00000000 --- a/node_modules/ace/api/token_iterator.html +++ /dev/null @@ -1,248 +0,0 @@ - -- -- - - - - - -----Split -
- -- -Methods
-- --------
-- -
--
- -- Split.blur()
----Blurs the current editor.
- --Blurs the current editor.
- -- --------
-- -
--
- -- Split.execute()
-------- --------
-- -
--
- -- Split.focus()
----Focuses the current editor.
- --Focuses the current editor.
- -- - -- --------
- - - -- -
--
- Split.getCurrentEditor() -
- -
-
-- Editor
----Returns the current editor.
- --Returns the current editor.
- -- - -- --------
- - - -- -
--
- Split.getOrientation() -
- -
-
-- Number
----Returns the orientation.
- --Returns the orientation.
- -- --------
- - - -- -
--
- Split.getSplits() -
- -
-
-- Number
----Returns the number of splits.
- --Returns the number of splits.
- -- --------
-- -
--
- -- Split.hasRedo()
-------- --------
-- -
--
- -- Split.hasUndo()
-------- --------
-- -
--
- -- Split.redo()
-------- --------
-- -
--
- -- Split.reset()
-------- --------
-- -
--
- -- Split.resize()
----Resizes the editor.
- --Resizes the editor.
- -- - -- - -- - -- --------
-- -
--
- -- Split.setSession(EditSession session, Number idx)
-------Arguments
-
session EditSession Required. The new edit session
-idx Number Required. The editor's index you're interested in
-Sets a new
-EditSessionfor the indicated editor.- --------
-- -
--
- -- Split.setSplits()
-------- - -- --------
-- -
--
- -- Split.undo()
-------- --------
-- -
--
- -- Split.UndoManagerProxy()
--------\ No newline at end of file diff --git a/node_modules/ace/api/tokenizer.html b/node_modules/ace/api/tokenizer.html deleted file mode 100644 index b45bd58d..00000000 --- a/node_modules/ace/api/tokenizer.html +++ /dev/null @@ -1,122 +0,0 @@ - -- -- - - - - - -----TokenIterator -
- -- ----This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.
- -Constructors
-- --------
-- -
--
- -- new TokenIterator(EditSession session, Number initialRow, Number initialColumn)
----Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.
- --Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.
- -Arguments
-
session EditSession Required. The session to associate with
-initialRow Number Required. The row to start the tokenizing at
-initialColumn Number Required. The column to start the tokenizing at
-Methods
-- --------
- - - -- -
--
- TokenIterator.getCurrentToken() -
- -
-
-- String
----Returns the current tokenized string.
- --Returns the current tokenized string.
- -- --------
- - - -- -
--
- TokenIterator.getCurrentTokenColumn() -
- -
-
-- Number
----Returns the current column.
- --Returns the current column.
- -- --------
- - - -- -
--
- TokenIterator.getCurrentTokenRow() -
- -
-
-- Number
----Returns the current row.
- --Returns the current row.
- -- --------
- - - -- -
--
- TokenIterator.stepBackward() -
- -
-
-- String
----Tokenizes all the items from the current point to the row prior in the document.
- --Tokenizes all the items from the current point to the row prior in the document.
- -- --------
- - - -- -
--
- TokenIterator.stepForward() -
- -
-
-- String
----Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns
- -null. Otherwise, it returns the tokenized string.-Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns
- -null. Otherwise, it returns the tokenized string.-\ No newline at end of file diff --git a/node_modules/ace/api/undomanager.html b/node_modules/ace/api/undomanager.html deleted file mode 100644 index fafd4131..00000000 --- a/node_modules/ace/api/undomanager.html +++ /dev/null @@ -1,271 +0,0 @@ - -- -- - - - - - -----Tokenizer -
- -- ----This class takes a set of highlighting rules, and creates a tokenizer out of them. For more information, see the wiki on extending highlighters.
- -Constructors
-- ---- - --Methods
-- ---- ----- -Returns an object containing two properties:
- -tokens, which contains all the tokens; andstate, the current state.-\ No newline at end of file diff --git a/node_modules/ace/api/virtual_renderer.html b/node_modules/ace/api/virtual_renderer.html deleted file mode 100644 index 952e6ae6..00000000 --- a/node_modules/ace/api/virtual_renderer.html +++ /dev/null @@ -1,2190 +0,0 @@ - -- -- - - - - - -----UndoManager -
- -- ----This object maintains the undo stack for an
- -EditSession.Constructors
-- --------
-- -
--
- -- new UndoManager()
----Resets the current undo state and creates a new
- -UndoManager.-Resets the current undo state and creates a new
- -UndoManager.Methods
-- - -- --------
- - - -- -
--
- UndoManager.hasRedo() -
- -
-
-- Boolean
----Returns
- -trueif there are redo operations left to perform.-Returns
- -trueif there are redo operations left to perform.- --------
- - - -- -
--
- UndoManager.hasUndo() -
- -
-
-- Boolean
----Returns
- -trueif there are undo operations left to perform.-Returns
- -trueif there are undo operations left to perform.- --------
-- -
--
- -- UndoManager.redo(Boolean dontSelect)
----Perform a redo operation on the document, reimplementing the last change.
- --Perform a redo operation on the document, reimplementing the last change.
- -Arguments
-
dontSelect Boolean Required. If
-true, doesn't select the range of where the change occured- --------
-- -
--
- -- UndoManager.reset()
----Destroys the stack of undo and redo redo operations.
- --Destroys the stack of undo and redo redo operations.
- -- ---- -----Perform an undo operation on the document, reverting the last change.
- --Perform an undo operation on the document, reverting the last change.
- -Arguments
-
dontSelect Boolean Required. If
-true, doesn't select the range of where the change occured-\ No newline at end of file diff --git a/node_modules/ace/doc/README.md b/node_modules/ace/doc/README.md deleted file mode 100644 index 455a1c05..00000000 --- a/node_modules/ace/doc/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# Introduction - -The API doc build takes a look a source Javascript files in the _lib_ directory, and turns it into HTML output in the _api_ directory. It uses [Panino](https://github.com/gjtorikian/panino-docs) to perform the conversion. - -For any questions on the build system, please see that repo. - -# Building - -In the root directory, just run: - - make doc - -In this directory, just run: - - npm install - node build.js - diff --git a/node_modules/ace/doc/additionalObjs.json b/node_modules/ace/doc/additionalObjs.json deleted file mode 100644 index dd734f78..00000000 --- a/node_modules/ace/doc/additionalObjs.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "Array" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array", - "Boolean" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean", - "Date" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date", - "Error" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Error", - "EvalError" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/EvalError", - "RangeError" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/RangeError", - "ReferenceError" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/ReferenceError", - "SyntaxError" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/SyntaxError", - "TypeError" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/TypeError", - "URIError" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/URIError", - "Function" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function", - "Infinity" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Infinity", - "JSON" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/JSON", - "Math" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Math", - "NaN" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/NaN", - "Number" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number", - "Object" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object", - "RegExp" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/RegExp", - "String" : "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String", - - "DOMElement": "https://developer.mozilla.org/en/DOM/element", - "Event": "https://github.com/ajaxorg/ace/blob/master/lib/ace/lib/event.js", - "TextMode": "https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js", - "KeyBinding": "https://github.com/ajaxorg/ace/blob/master/lib/ace/keyboard/keybinding.js", - "Cursor": "https://github.com/ajaxorg/ace/blob/master/lib/ace/layer/cursor.js" -} \ No newline at end of file diff --git a/node_modules/ace/doc/build.js b/node_modules/ace/doc/build.js deleted file mode 100644 index 2b1b469c..00000000 --- a/node_modules/ace/doc/build.js +++ /dev/null @@ -1,67 +0,0 @@ -var fs = require("fs"); -var path = require("path"); -var panino = require("panino"); -var srcPath = __dirname + "/../lib/ace"; -var buildType = process.argv.splice(2)[0]; - -var options = { - title : "Ace API", - parseType : "jsd", - linkFormat : function(linkHtml) { - var href = linkHtml.href; - var o = href.match(/(.+)\.html(#.+)/); - var c = href.match(/#(.+)/); - - if ( o !== null ) { - href = href.replace(href, '#nav=api&api=' + o[1]);// + '§ion=' + o[2]); - } - - linkHtml.href = href; - - return linkHtml; - }, - output : "../api/", - outputAssets : "../api/resources", - skin : "./template/jade/layout.jade", - assets : "./template/resources", - additionalObjs : "./additionalObjs.json", - exclude : ["**/*_test.js", "**/mode/**", "default_commands.js", "multi_select_commands.js", "**/test/**", "**/theme/**", "**/worker/**"], - index : "./index.md" -}; - -files = [srcPath]; - -panino.parse(files, options, function (err, ast) { - if (err) { - console.error(err); - process.exit(1); - } - - panino.render(buildType || 'html', ast, options, function (err) { - if (err) { - console.error(err); - process.exit(1); - } - - /*fs.readdir(options.output, function (err, files) { - files.forEach(function(file) { - if (file.match(/\.html$/)) { - var outFile = options.output + "/" + file; - fs.readFile(outFile, "utf8", function(err, data) { - var otherPageRegExp = new RegExp('=2.2.0", - "asset-smasher": "0.2.0" - } -} \ No newline at end of file diff --git a/node_modules/ace/doc/site/images/ac-logo.png b/node_modules/ace/doc/site/images/ac-logo.png deleted file mode 100644 index 6ca069a3..00000000 Binary files a/node_modules/ace/doc/site/images/ac-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/ace-tab.png b/node_modules/ace/doc/site/images/ace-tab.png deleted file mode 100644 index 50298c10..00000000 Binary files a/node_modules/ace/doc/site/images/ace-tab.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/ace.png b/node_modules/ace/doc/site/images/ace.png deleted file mode 100644 index 9b7c40c8..00000000 Binary files a/node_modules/ace/doc/site/images/ace.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/background.png b/node_modules/ace/doc/site/images/background.png deleted file mode 100644 index c6ee9313..00000000 Binary files a/node_modules/ace/doc/site/images/background.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/body_background.png b/node_modules/ace/doc/site/images/body_background.png deleted file mode 100644 index 2101cdfa..00000000 Binary files a/node_modules/ace/doc/site/images/body_background.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/bottombar.png b/node_modules/ace/doc/site/images/bottombar.png deleted file mode 100644 index 2e76bf84..00000000 Binary files a/node_modules/ace/doc/site/images/bottombar.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/cloud9-logo.png b/node_modules/ace/doc/site/images/cloud9-logo.png deleted file mode 100644 index 5466cf7e..00000000 Binary files a/node_modules/ace/doc/site/images/cloud9-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/codecademy-logo.png b/node_modules/ace/doc/site/images/codecademy-logo.png deleted file mode 100644 index e27947ae..00000000 Binary files a/node_modules/ace/doc/site/images/codecademy-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/codiad.png b/node_modules/ace/doc/site/images/codiad.png deleted file mode 100644 index c77a446c..00000000 Binary files a/node_modules/ace/doc/site/images/codiad.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/crunchapp-logo.png b/node_modules/ace/doc/site/images/crunchapp-logo.png deleted file mode 100644 index 1ed8d2f7..00000000 Binary files a/node_modules/ace/doc/site/images/crunchapp-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/empty-logo.png b/node_modules/ace/doc/site/images/empty-logo.png deleted file mode 100644 index c0bbbbe3..00000000 Binary files a/node_modules/ace/doc/site/images/empty-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/favicon.ico b/node_modules/ace/doc/site/images/favicon.ico deleted file mode 100644 index e97c70f6..00000000 Binary files a/node_modules/ace/doc/site/images/favicon.ico and /dev/null differ diff --git a/node_modules/ace/doc/site/images/firefox-logo.png b/node_modules/ace/doc/site/images/firefox-logo.png deleted file mode 100644 index 711fad62..00000000 Binary files a/node_modules/ace/doc/site/images/firefox-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/fork_on_github.png b/node_modules/ace/doc/site/images/fork_on_github.png deleted file mode 100644 index e8ddb66e..00000000 Binary files a/node_modules/ace/doc/site/images/fork_on_github.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/github-logo.png b/node_modules/ace/doc/site/images/github-logo.png deleted file mode 100644 index 9456846a..00000000 Binary files a/node_modules/ace/doc/site/images/github-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/habitat-logo.svg b/node_modules/ace/doc/site/images/habitat-logo.svg deleted file mode 100644 index 986c3687..00000000 --- a/node_modules/ace/doc/site/images/habitat-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/node_modules/ace/doc/site/images/header-bg.png b/node_modules/ace/doc/site/images/header-bg.png deleted file mode 100644 index aaab9e3e..00000000 Binary files a/node_modules/ace/doc/site/images/header-bg.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/ideone-logo.png b/node_modules/ace/doc/site/images/ideone-logo.png deleted file mode 100644 index cbee7fad..00000000 Binary files a/node_modules/ace/doc/site/images/ideone-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/khan-logo.png b/node_modules/ace/doc/site/images/khan-logo.png deleted file mode 100644 index 3c389f8e..00000000 Binary files a/node_modules/ace/doc/site/images/khan-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/logo.png b/node_modules/ace/doc/site/images/logo.png deleted file mode 100644 index 6af129d9..00000000 Binary files a/node_modules/ace/doc/site/images/logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/logo_half.png b/node_modules/ace/doc/site/images/logo_half.png deleted file mode 100644 index f99b0c4b..00000000 Binary files a/node_modules/ace/doc/site/images/logo_half.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/modx-logo-4.png b/node_modules/ace/doc/site/images/modx-logo-4.png deleted file mode 100644 index a640ef23..00000000 Binary files a/node_modules/ace/doc/site/images/modx-logo-4.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/pixie-logo.png b/node_modules/ace/doc/site/images/pixie-logo.png deleted file mode 100644 index 99968c46..00000000 Binary files a/node_modules/ace/doc/site/images/pixie-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/plunker.png b/node_modules/ace/doc/site/images/plunker.png deleted file mode 100644 index e8388db6..00000000 Binary files a/node_modules/ace/doc/site/images/plunker.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/processwire-logo.svg b/node_modules/ace/doc/site/images/processwire-logo.svg deleted file mode 100644 index 8f64d71c..00000000 --- a/node_modules/ace/doc/site/images/processwire-logo.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - diff --git a/node_modules/ace/doc/site/images/repl.it-logo.png b/node_modules/ace/doc/site/images/repl.it-logo.png deleted file mode 100644 index bf383a62..00000000 Binary files a/node_modules/ace/doc/site/images/repl.it-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/rstudio_logo_64.png b/node_modules/ace/doc/site/images/rstudio_logo_64.png deleted file mode 100644 index 3d402a21..00000000 Binary files a/node_modules/ace/doc/site/images/rstudio_logo_64.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/sassmeister-logo.png b/node_modules/ace/doc/site/images/sassmeister-logo.png deleted file mode 100644 index 7ecc8939..00000000 Binary files a/node_modules/ace/doc/site/images/sassmeister-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/shiftedit-logo.png b/node_modules/ace/doc/site/images/shiftedit-logo.png deleted file mode 100644 index b505f9df..00000000 Binary files a/node_modules/ace/doc/site/images/shiftedit-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/spandexio-logo.png b/node_modules/ace/doc/site/images/spandexio-logo.png deleted file mode 100644 index e2fdb79d..00000000 Binary files a/node_modules/ace/doc/site/images/spandexio-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/stypi-logo.png b/node_modules/ace/doc/site/images/stypi-logo.png deleted file mode 100644 index ef1af148..00000000 Binary files a/node_modules/ace/doc/site/images/stypi-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/sx-logo.png b/node_modules/ace/doc/site/images/sx-logo.png deleted file mode 100644 index 0604d279..00000000 Binary files a/node_modules/ace/doc/site/images/sx-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/textimage.png b/node_modules/ace/doc/site/images/textimage.png deleted file mode 100644 index 6f7d3130..00000000 Binary files a/node_modules/ace/doc/site/images/textimage.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/weecod-logo.png b/node_modules/ace/doc/site/images/weecod-logo.png deleted file mode 100644 index c4970727..00000000 Binary files a/node_modules/ace/doc/site/images/weecod-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/wolf_3d_logo_trans.png b/node_modules/ace/doc/site/images/wolf_3d_logo_trans.png deleted file mode 100644 index fe61b9b4..00000000 Binary files a/node_modules/ace/doc/site/images/wolf_3d_logo_trans.png and /dev/null differ diff --git a/node_modules/ace/doc/site/images/zorba-logo.png b/node_modules/ace/doc/site/images/zorba-logo.png deleted file mode 100644 index ad2c22f6..00000000 Binary files a/node_modules/ace/doc/site/images/zorba-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/site/iphone.css b/node_modules/ace/doc/site/iphone.css deleted file mode 100644 index dd90db03..00000000 --- a/node_modules/ace/doc/site/iphone.css +++ /dev/null @@ -1,25 +0,0 @@ -#wrapper { - position:relative; - overflow:hidden; -} - -#wrapper .content .column1 { - margin:0 16px 0 15px; -} - -#header .content .signature { - font-size:18px; - bottom:0; -} - -UL.menu-list LI { - font-size:22px; -} - -UL.menu-footer LI { - font-size:22px; -} - -PRE{ - font-size:22px; -} \ No newline at end of file diff --git a/node_modules/ace/doc/site/js/ga.js b/node_modules/ace/doc/site/js/ga.js deleted file mode 100644 index e381972d..00000000 --- a/node_modules/ace/doc/site/js/ga.js +++ /dev/null @@ -1,9 +0,0 @@ - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-31998201-1']); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); \ No newline at end of file diff --git a/node_modules/ace/doc/site/js/main.js b/node_modules/ace/doc/site/js/main.js deleted file mode 100644 index 39dc202d..00000000 --- a/node_modules/ace/doc/site/js/main.js +++ /dev/null @@ -1,187 +0,0 @@ -var editor; -var embedded_editor; -$(function() { - if (typeof ace !== "undefined") { - ace.config.set("workerPath", "build/src-min"); - editor = ace.edit("ace_editor_demo"); - editor.container.style.opacity = ""; - embedded_editor = ace.edit("embedded_ace_code"); - embedded_editor.container.style.opacity = ""; - embedded_editor.session.setMode("ace/mode/html"); - embedded_editor.setAutoScrollEditorIntoView(true); - embedded_editor.setOption("maxLines", 40); - - editor.setOptions({ - maxLines: 30, - mode: "ace/mode/javascript", - autoScrollEditorIntoView: true - }); - - ace.config.loadModule("ace/ext/emmet", function() { - ace.require("ace/lib/net").loadScript("http://cloud9ide.github.io/emmet-core/emmet.js", function() { - embedded_editor.setOption("enableEmmet", true); - editor.setOption("enableEmmet", true); - }); - }); - - ace.config.loadModule("ace/ext/language_tools", function() { - embedded_editor.setOptions({ - enableSnippets: true, - enableBasicAutocompletion: true - }); - editor.setOptions({ - enableSnippets: true, - enableBasicAutocompletion: true - }); - }); - } else { - document.body.insertAdjacentHTML("afterbegin", '- -- - - - - - -----VirtualRenderer -
- -- ----The class that is responsible for drawing everything you see on the screen!
- -Constructors
-- --------
-- -
--
- -- new VirtualRenderer(DOMElement container, String theme)
----Constructs a new
- -VirtualRendererwithin thecontainerspecified, applying the giventheme.-Constructs a new
- -VirtualRendererwithin thecontainerspecified, applying the giventheme.Arguments
-
container DOMElement Required. The root element of the editor
-theme String Required. The starting theme
-Methods
-- --------
-- -
--
- -- VirtualRenderer._loadTheme()
-------- ---- ----- -Deprecated; (moved to
- -EditSession)- --------
-- -
--
- -- VirtualRenderer.adjustWrapLimit()
----Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.
- --Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.
- -- --------
-- -
--
- -- VirtualRenderer.alignCursor()
-------- --------
-- -
--
- -- VirtualRenderer.animateScrolling()
-------- --------
-- -
--
- -- VirtualRenderer.destroy()
----Destroys the text and cursor layers for this renderer.
- --Destroys the text and cursor layers for this renderer.
- -- --------
- - - -- -
--
- VirtualRenderer.getAnimatedScroll() -
- -
-
-- Boolean
----Returns whether an animated scroll happens or not.
- --Returns whether an animated scroll happens or not.
- -- --------
- - - -- -
--
- VirtualRenderer.getContainerElement() -
- -
-
-- DOMElement
----Returns the root element containing this renderer.
- --Returns the root element containing this renderer.
- -- --------
-- -
--
- -- VirtualRenderer.getDisplayIndentGuides()
-------- --------
-- -
--
- -- VirtualRenderer.getFadeFoldWidgets()
-------- --------
- - - -- -
--
- VirtualRenderer.getFirstFullyVisibleRow() -
- -
-
-- Number
----Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
- --Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
- -- --------
- - - -- -
--
- VirtualRenderer.getFirstVisibleRow() -
- -
-
-- Number
----Returns the index of the first visible row.
- --Returns the index of the first visible row.
- -- --------
-- -
--
- -- VirtualRenderer.getHighlightGutterLine()
-------- --------
- - - -- -
--
- VirtualRenderer.getHScrollBarAlwaysVisible() -
- -
-
-- Boolean
----Returns whether the horizontal scrollbar is set to be always visible.
- --Returns whether the horizontal scrollbar is set to be always visible.
- -- --------
- - - -- -
--
- VirtualRenderer.getLastFullyVisibleRow() -
- -
-
-- Number
----Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
- --Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
- -- --------
- - - -- -
--
- VirtualRenderer.getLastVisibleRow() -
- -
-
-- Number
----Returns the index of the last visible row.
- --Returns the index of the last visible row.
- -- --------
- - - -- -
--
- VirtualRenderer.getMouseEventTarget() -
- -
-
-- DOMElement
----Returns the element that the mouse events are attached to
- --Returns the element that the mouse events are attached to
- -- --------
- - - -- -
--
- VirtualRenderer.getPrintMarginColumn() -
- -
-
-- Boolean
----Returns whether the print margin column is being shown or not.
- --Returns whether the print margin column is being shown or not.
- -- --------
- - - -- -
--
- VirtualRenderer.getScrollBottomRow() -
- -
-
-- Number
----Returns the last visible row, regardless of whether it's fully visible or not.
- --Returns the last visible row, regardless of whether it's fully visible or not.
- -- --------
- - - -- -
--
- VirtualRenderer.getScrollLeft() -
- -
-
-- Number
----Returns the value of the distance between the left of the editor and the leftmost part of the visible content.
- --Returns the value of the distance between the left of the editor and the leftmost part of the visible content.
- -- --------
- - - -- -
--
- VirtualRenderer.getScrollTop() -
- -
-
-- Number
----Returns the value of the distance between the top of the editor and the topmost part of the visible content.
- --Returns the value of the distance between the top of the editor and the topmost part of the visible content.
- -- --------
- - - -- -
--
- VirtualRenderer.getScrollTopRow() -
- -
-
-- Number
----Returns the first visible row, regardless of whether it's fully visible or not.
- --Returns the first visible row, regardless of whether it's fully visible or not.
- -- --------
- - - -- -
--
- VirtualRenderer.getShowGutter() -
- -
-
-- Boolean
----Returns
- -trueif the gutter is being shown.-Returns
- -trueif the gutter is being shown.- --------
- - - -- -
--
- VirtualRenderer.getShowInvisibles() -
- -
-
-- Boolean
----Returns whether invisible characters are being shown or not.
- --Returns whether invisible characters are being shown or not.
- -- --------
- - - -- -
--
- VirtualRenderer.getShowPrintMargin() -
- -
-
-- Boolean
----Returns whether the print margin is being shown or not.
- --Returns whether the print margin is being shown or not.
- -- --------
- - - -- -
--
- VirtualRenderer.getTextAreaContainer() -
- -
-
-- DOMElement
----Returns the element to which the hidden text area is added.
- --Returns the element to which the hidden text area is added.
- -- --------
- - - -- -
--
- VirtualRenderer.getTheme() -
- -
-
-- String
----Returns the path of the current theme.
- --Returns the path of the current theme.
- -- --------
-- -
--
- -- VirtualRenderer.hideComposition()
----Hides the current composition.
- --Hides the current composition.
- -- --------
-- -
--
- -- VirtualRenderer.hideCursor()
----Hides the cursor icon.
- --Hides the cursor icon.
- -- ---- ----- -Returns
- -trueif you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.- --------
-- -
--
- -- VirtualRenderer.onChangeTabSize()
-------- --------
-- -
--
- -- VirtualRenderer.onGutterResize()
-------- ------ -----Triggers a resize of the editor.
- --Triggers a resize of the editor.
- -Arguments
-
force Boolean Required. If
-true, recomputes the size, even if the height and width haven't changedgutterWidth Number Required. The width of the gutter in pixels
-width Number Required. The width of the editor in pixels
-height Number Required. The hiehgt of the editor, in pixels
-- --------
-- -
--
- -- VirtualRenderer.pixelToScreenCoordinates()
-------- ---- ----- -Deprecated; (moved to
- -EditSession)- --------
-- -
--
- -- VirtualRenderer.screenToTextCoordinates()
-------- - -- - -- --------
-- -
--
- -- VirtualRenderer.scrollSelectionIntoView()
-------- ------ -----Gracefully scrolls the editor to the row indicated.
- --Gracefully scrolls the editor to the row indicated.
- -Arguments
-
line Number Required. A line number
-center Boolean Required. If
-true, centers the editor the to indicated lineanimate Boolean Required. If
-trueanimates scrollingcallback Function Required. Function to be called after the animation has finished
-- - -- - -- - -- --------
-- -
--
- -- VirtualRenderer.setAnimatedScroll(Boolean shouldAnimate)
----Identifies whether you want to have an animated scroll or not.
- --Identifies whether you want to have an animated scroll or not.
- -Arguments
-
shouldAnimate Boolean Required. Set to
-trueto show animated scrolls- - -- - -- --------
-- -
--
- -- VirtualRenderer.setDisplayIndentGuides()
-------- --------
-- -
--
- -- VirtualRenderer.setFadeFoldWidgets()
-------- --------
-- -
--
- -- VirtualRenderer.setHighlightGutterLine()
-------- --------
-- -
--
- -- VirtualRenderer.setHScrollBarAlwaysVisible(Boolean alwaysVisible)
----Identifies whether you want to show the horizontal scrollbar or not.
- --Identifies whether you want to show the horizontal scrollbar or not.
- -Arguments
-
alwaysVisible Boolean Required. Set to
-trueto make the horizontal scroll bar visible- - -- --------
-- -
--
- -- VirtualRenderer.setPrintMarginColumn(Boolean showPrintMargin)
----Identifies whether you want to show the print margin column or not.
- --Identifies whether you want to show the print margin column or not.
- -Arguments
-
showPrintMargin Boolean Required. Set to
-trueto show the print margin column- --------
-- -
--
- -- VirtualRenderer.setSession(Object session)
---- -Associates the renderer with an
- -EditSession.- - -- --------
-- -
--
- -- VirtualRenderer.setShowInvisibles(Boolean showInvisibles)
----Identifies whether you want to show invisible characters or not.
- --Identifies whether you want to show invisible characters or not.
- -Arguments
-
showInvisibles Boolean Required. Set to
-trueto show invisibles- --------
-- -
--
- -- VirtualRenderer.setShowPrintMargin(Boolean showPrintMargin)
----Identifies whether you want to show the print margin or not.
- --Identifies whether you want to show the print margin or not.
- -Arguments
-
showPrintMargin Boolean Required. Set to
-trueto show the print margin- --------
-- -
--
- -- VirtualRenderer.setStyle()
-------- --------
-- -
--
- -- VirtualRenderer.setTheme(String theme)
----Sets a new theme for the editor.
- -themeshould exist, and be a directory path, likeace/theme/textmate.-Sets a new theme for the editor.
- -themeshould exist, and be a directory path, likeace/theme/textmate.Arguments
-
theme String Required. The path to a theme
-- --------
-- -
--
- -- VirtualRenderer.showCursor()
----Shows the cursor icon.
- --Shows the cursor icon.
- -- ------ - - - -- -- - -- --------
-- -
--
- -- VirtualRenderer.updateBackMarkers()
----Schedules an update to all the back markers in the document.
- --Schedules an update to all the back markers in the document.
- -- - -- --------
-- -
--
- -- VirtualRenderer.updateCharacterSize()
-------- --------
-- -
--
- -- VirtualRenderer.updateCursor()
----Updates the cursor icon.
- --Updates the cursor icon.
- -- --------
-- -
--
- -- VirtualRenderer.updateFontSize()
----Updates the font size.
- --Updates the font size.
- -- --------
-- -
--
- -- VirtualRenderer.updateFrontMarkers()
----Schedules an update to all the front markers in the document.
- --Schedules an update to all the front markers in the document.
- -- - -- ---- - --- --------
-- -
--
- -- VirtualRenderer.updateText()
----Triggers a full update of the text, for all the rows.
- --Triggers a full update of the text, for all the rows.
- -- --------
-- -
--
- -- VirtualRenderer.visualizeBlur()
----Blurs the current container.
- --Blurs the current container.
- -- --------
-- -
--
- -- VirtualRenderer.visualizeFocus()
----Focuses the current container.
- --Focuses the current container.
- -\ -'); - } - $("ul.menu-list").mousedown(function(e) { - if (e.button === 1) { - e.preventDefault(); - } - }); - - $("ul.menu-list li").click(function(e) { - if (e.target.tagName !== "A") { - var href = $(this).find("a").attr("href"); - if (e.button == 1) - window.open(href, "_blank"); - else - window.location = href; - } - }); - - // used when page is access directly - function magicClickInterceptor(e) { - e.preventDefault(); - - var state = {}; - state.api = $(this).attr("href").substring(6, $(this).attr("href").length - 5); - $.bbq.pushState(state); - - var _self = $(this); - $("#apiHolder").load($(this).attr("href") + " #documentation", function(){ - $("#apiHolder").removeClass("apiIntro").removeClass("span9"); - $("#documentation").removeClass("span9").addClass("span7"); - ux(); - setupClicker(); - - // handles dropping in from new link - var section = $.bbq.getState("section"); - if (section) { - $("li#dropdown_" + section.replace(/\./g, '\\.') + " a").triggerHandler('click'); - } - - //setupDisqus(_self.attr("href")); - }); - } - - $('.menu-item a').click(magicClickInterceptor); - $('a.argument').click(magicClickInterceptor); - - $('a.external').click(function(e) { - e.preventDefault(); - }); - - var tabs = $("#tabnav"), - tab_a_selector = "a"; - - var firstLoad = true; - - tabs.find(tab_a_selector).click(function(e) { - e.preventDefault(); - if ($(this).attr("href") === "/") { - window.location = "http://ace.ajax.org"; - return; - } - if ($(this).attr("href").indexOf("#api") === 0) { - $("#top_container").addClass("collapse"); - scrollIntoPosition(null, 0); - } - else if ($(this).is(":visible")) { - if (firstLoad) { - firstLoad = false; - setTimeout(function() { - $("#top_container").removeClass("collapse"); - scrollIntoPosition(e.target); - }, 700); - } - else { - $("#top_container").removeClass("collapse"); - scrollIntoPosition(e.target); - } - } - - function scrollIntoPosition(el, overridePosition) { - if (typeof overridePosition !== "undefined") { - $("body").stop().animate({ - scrollTop: overridePosition - }, 400); - } - else if ($("body").scrollTop() > 345) { - $("body").stop().animate({ - scrollTop: ($(el).offset().top - 10) - }, 400); - } - } - - $(this).tab("show"); - - var state = {}; - state.nav = $(this).attr("href").substr(1); - $.bbq.pushState(state); - }); - - $('#tabnav a[data-toggle="tab"]').on('shown', function (e) { - $(".tab-content .tab-pane.active .ace_editor").each(function(i, el){ - el.env.onResize(); - }); - }); - - $(window).on("hashchange", function(e) { - _gaq.push(['_trackPageview',location.pathname + location.search + location.hash]); - tabs.each(function() { - var idx = $.bbq.getState("nav") || "about"; - var section = e.fragment.split("&")[1] || ""; - $(this).find(tab_a_selector + "[href='#" + idx + "']").triggerHandler('click'); - - // handles dropping in from new link - var api = $.bbq.getState("api"); - if (api) { - $(tab_a_selector + "[href='./api/" + api + ".html']").triggerHandler('click'); - } - }); - }).trigger("hashchange"); - - highlight(); -}); - - - -function highlight() { - var highlighter = ace.require("ace/ext/static_highlight") - var dom = ace.require("ace/lib/dom") - function qsa(sel) { - var els = document.querySelectorAll(sel); - var result = []; - for (var i = 0, l = els.length; i < l; i++) - result[i] = els[i]; - return result; - } - - qsa("code[class]").forEach(function(el) { - var m = el.className.match(/language-(\w+)|(javascript)/); - if (!m) return - var mode = "ace/mode/" + (m[1] || m[2]); - highlighter.highlight(el, {mode: mode, theme: "ace/theme/xcode"}) - }); -} \ No newline at end of file diff --git a/node_modules/ace/doc/site/style.css b/node_modules/ace/doc/site/style.css deleted file mode 100644 index 1167340a..00000000 --- a/node_modules/ace/doc/site/style.css +++ /dev/null @@ -1,509 +0,0 @@ -body { - margin:0; - padding:0; - background-color:#e6f5fc; - font-family: Helvetica, Arial; -} - - - -#ace_editor_demo, #embedded_ace_code { - height: 275px; - border: 1px solid #DDD; - border-radius: 4px; - border-bottom-right-radius: 0px; - margin-top: 5px; -} - -#embedded_ace_code { - height: 525px; -} - -h1, h2, h3, h4, h5, h6 { - font-family: Helvetica; - font-weight: 100; - margin:0; - padding:0; -} - -h2, h3, h4, h5, h6 { - padding-top: 30px; - border-bottom: 1px solid #bedaea; -} - -H2 { - font-size:28px; - color:#263842; - padding-bottom:6px; -} - -H3 { - font-size:22px; - color:#253741; - margin-bottom:8px; -} - -H4 { - font-size:21px; - color:#222222; - margin-bottom:8px; -} - -P { - padding:13px 0; - margin:0; - line-height:21px; - font-size: 15px; -} - -UL{ - font-size: 15px; -} - -#header { - height: 93px; - position: relative; - background: url(images/background.png) repeat-x 0 0; - border-bottom: 1px solid #C9E8FA; - margin-top: 40px; -} - -#header .content .signature { - font-family:Trebuchet MS; - font-size:11px; - color:#ebe4d6; - position:absolute; - bottom:5px; - right:42px; - letter-spacing : 1px; -} - -.content { - width:970px; - position:relative; - margin:0 auto; -} - -#header .content { - height: 100%; - z-index: 90000; -} - -#header .content .logo { - width: 141px; - height: 92px; - background: url(images/logo_half.png) no-repeat 0 0; - position: absolute; - top: -14px; - left: 0; -} - -#header .content .title { - width: 605px; - height: 58px; - background: url(images/ace.png) no-repeat 0 0; - position: absolute; - top: 22px; - left: 329px; -} - -#wrapper { - background:url(images/body_background.png) repeat-x 0 -15px; - min-height:250px; -} - -#wrapper .content { - font-family:Arial; - font-size:14px; - color:#222222; - width: 960px; -} - -#wrapper .content .column1 { - position:relative; - overflow:hidden; - float:left; - width:315px; - margin-right:31px; -} - -#wrapper .content .column2 { - position:relative; - overflow:hidden; - float:left; - /*width:600px;*/ -} - -#top_container h1 { - font-size: 68px; - line-height: 60px; - width: 515px; - float: left; - font-weight: 100; - font-family: Helvetica; - padding: 65px 0 0 14px; - color: #333; -} - -#top_container { - background: url(images/header-bg.png) 0 0; - overflow: hidden; - padding: 11px 36px 19px 40px; - height: 267px; - -webkit-transition: height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out; - -moz-transition: height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out; - opacity: 1; - margin-top: 25px; -} - -#top_container.collapse { - padding: 0px; - height: 0px; - opacity: 0; - margin: 0; -} - -#page_logo { - padding: 35px 0 15px 0; - width: 350px; - float: right; - text-align: center; - height: 220px; -} - -.fork_on_github { - width:310px; - height:80px; - background:url(images/fork_on_github.png) no-repeat 0 0; - position:relative; - overflow:hidden; - margin-top:49px; - cursor:pointer; -} - -.fork_on_github:hover { - background-position:0 -80px; -} - -.divider { - height: 1px; - background-color:#bedaea; - margin-bottom:3px; -} - -.menu, .site-menu { - padding: 25px 0 0 35px; -} - -UL.content-list { - padding: 15px 0 15px 20px; - margin:0; -} - -UL.content-list li { - padding-left: 10px; - padding-bottom: 3px; -} - -ul.menu-list { - padding: 15px 0; - margin: 0 0 20px 0; - list-style-type: none; - line-height: 16px; - overflow: auto; -} - -ul.menu-list li { - color: #2557B4; - font-family: Helvetica, Trebuchet MS; - font-size: 12px; - padding: 5px; - cursor: pointer; - display: block; - float: left; - margin-right: 15px; - margin-bottom: 20px; - width: 100px; - height: 90px; - border-radius: 5px; - position: relative; - background: rgba(255, 255, 255, 0.7); - margin-left: 22px; - margin-top: 20px; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); - -webkit-transition: box-shadow 0.4s; - -moz-transition: box-shadow 0.4s; - border: 1px solid #999; - background-image: -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), - -webkit-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%), - -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%), - - -webkit-linear-gradient(-90deg, hsl(0,0%,78%) 0%, - hsl(0,0%,90%) 47%, - hsl(0,0%,78%) 53%, - hsl(0,0%,70%)100%); - background-image: -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), - -moz-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%), - -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%), - - -moz-linear-gradient(-90deg, hsl(0,0%,78%) 0%, - hsl(0,0%,90%) 47%, - hsl(0,0%,78%) 53%, - hsl(0,0%,70%)100%); -} - -ul.menu-list li:hover { - box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); - -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); -} - -ul.menu-list li a { - position: absolute; - bottom: 0px; - left: 0px; - color: white; - text-align: center; - font-weight: bold; - text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8); - width: 100%; - display: block; - background: rgba(0, 0, 0, 0.6); - line-height: 12px; - padding: 4px 0; -} - -UL.menu-list LI a:hover { - text-decoration: none; -} - -li#add_your_site p { - font-size: 32px; - border: 3px solid #34A034; - color: #34A034; - border-radius: 34px; - padding: 3px 4px 4px 5px; - width: 20px; - height: 22px; - line-height: 18px; - position: relative; - left: 33px; - top: 22px; - background: #fff; -} - -ul.menu-list li#add_your_site a { - color: #A3EEA3; -} - -/* This is the animation code. */ -@-webkit-keyframes example { - 0% { -webkit-transform: rotate(0deg); } - 25% { -webkit-transform: rotate(3deg); } - 50% { -webkit-transform: rotate(0deg); } - 75% { -webkit-transform: rotate(-3deg); } -} - -/* This is the element that we apply the animation to. */ -li#add_your_site { - -webkit-animation-name: example; - -webkit-animation-duration: 0.4s; - -webkit-animation-timing-function: ease; /* ease is the default */ - -webkit-animation-delay: 0s; /* 0 is the default */ - -webkit-animation-iteration-count: infinite; /* 1 is the default */ - -webkit-animation-direction: alternate; /* normal is the default */ -} - -A { - color:#2557b4; - text-decoration:none; -} - -A:hover { - text-decoration:underline; -} - -#footer { - height:40px; - position:relative; - overflow:hidden; - background:url(images/bottombar.png) repeat-x 0 0; - position:relative; - margin-top:40px; -} - -UL.menu-footer { - padding:0; - margin:8px 11px 0 0; - list-style-type:none; - float:right; -} - -UL.menu-footer LI { - color:white; - font-family:Arial; - font-size:12px; - display:inline-block; - margin:0 1px; -} - -UL.menu-footer LI A { - color:#8dd0ff; - text-decoration:none; -} - -UL.menu-footer LI A:hover { - text-decoration:underline; -} - -.nav-pills.nav { - margin: 10px 0 25px 0; - padding: 0; - border-radius: 5px; - border: 1px solid #d7d7d7; - background: #eeeeee; - background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); - background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); - background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); - background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); - background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); - overflow: hidden; -} - -.nav-pills > .active > a, .nav-pills > .active > a:hover { - color: white; - background-color: #555; - box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8); - text-shadow: 0px 0px 3px #000; -} - -.nav-tabs > li > a, .nav-pills > li > a { - padding-right: 17px; - padding-left: 17px; - border-right: 1px solid #bbb; - border-radius: 0; - margin: 0; - line-height: 25px; - font-size: 14px; - color: #333; - text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); - box-shadow: 0 0 1px rgba(255, 255, 255, 1); - -moz-box-shadow: 0 0 1px rgba(255, 255, 255, 1); - -webkit-transition: background 0.2s; - -moz-transition: background 0.2s; -} - -.nav.nav-pills li:first-child > a { - padding-left: 28px; - padding-right: 28px; -} - -.nav.nav-pills li:first-child > a > img { - width: 34px; -} - -.nav.nav-pills li:last-child > a { - border-right: none; - box-shadow: none; - -moz-box-shadow: none; -} - -.tab-content { - margin-bottom: 50px; -} - -.tab-content > .active, .pill-content > .active { - padding: 25px 30px; -} - -#top_container, .tab-content > .active, .pill-content > .active { - border: 1px solid #DDD; - border-radius: 5px; - -moz-border-radius: 5px; -} - -.tab-content > .active, .pill-content > .active { - background: rgba(255, 255, 255, 0.7); -} - -pre .xml .javascript, pre .xml .css { - opacity: 1; -} - -#embed_link { - text-align: right; - padding-top: 0; -} -#embed_link a { - color: #059C05; - font-weight: 100; - font-family: helvetica; - font-size: 13px; - display: inline-block; - padding: 2px 10px; - background: #f4f4f4; - border: 1px solid #ddd; - border-top: none; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - text-shadow: 0px 1px 0px rgba(255, 255, 255, 1); - text-decoration: none; -} - -p.highlight_note { - padding: 8px 35px 8px 14px; - margin-top: 10px; - color: #A0762E; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #FCF8E3; - border: 1px solid #CA9C44; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -p.highlight_note a { - color: #537CC7; -} - -.prod_no_image { - position: relative; left: -10px; top: -12px; -} - - -#api { - padding: 0; -} - -/*https://github.com/twitter/bootstrap/issues/5262*/ -img { - max-width: none; -} - -.text-logo{ - color: black; - font-size: 24px; - font-weight: lighter; - margin-top: 23px; - text-align: center; - text-shadow: 1px 17px 2px gray, 1px 1px 2px gray; -} - -.menu-list>li>img { - position: relative; -} - -.rotating-logo { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - -webkit-transition: all 0.5s ease-out; - transition: all 0.5s ease-out; -} -.rotating-logo:hover { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - -webkit-transition: all 0.5s ease-in-out; - transition: all 0.5s ease-in-out; -} \ No newline at end of file diff --git a/node_modules/ace/doc/template/jade/common_layout.jade b/node_modules/ace/doc/template/jade/common_layout.jade deleted file mode 100644 index bb665600..00000000 --- a/node_modules/ace/doc/template/jade/common_layout.jade +++ /dev/null @@ -1,55 +0,0 @@ --var dirPrefix = "./"; --var sitePrefix = "../doc/site/"; --var landingPage = 'false' --var versions = [] - -mixin doctype - !!! 5 - - - - - - -mixin head - meta(http-equiv='Content-Type', content='text/html; charset=UTF-8') - - -if (isIndex) - title #{title} - -else - title #{classId} - #{title} - - meta(name="generator", content="panino-doc-build") - meta(name="description", content="Ace API documentation for the online code editor") - meta(name="author", content="Garen J. Torikian") - - script(src='#{sitePrefix}/js/main.js') - link(rel='stylesheet', media='all and (max-device-width: 480px)', href='doc/site/iphone.css') - link(rel='stylesheet', media='all and (min-device-width: 481px) and (max-device-width: 1024px)', href='doc/site/iphone.css') - link(href='#{dirPrefix}resources/ace/skeleton/images/favicon.ico', rel='icon', type='image/x-icon') - - link(href='#{sitePrefix}/style.css', rel='stylesheet', type='text/css') - link(rel="stylesheet", href="#{dirPrefix}resources/csses/ace_api.css") - link(rel="stylesheet", href="#{dirPrefix}resources/csses/font-awesome.css") - - link(href="#{dirPrefix}resources/images/favicon.ico", rel="icon", type="image/x-icon") - - script(src='#{dirPrefix}resources/javascripts/bbq.js') - script(src="#{dirPrefix}resources/javascripts/jquery.collapse.js") - script(src="#{dirPrefix}resources/javascripts/jquery.cookie.js") - script(src="#{dirPrefix}resources/javascripts/bootstrap.js") - - -mixin endingScripts - script(defer, src="#{dirPrefix}resources/javascripts/ux.js") - script(src="#{dirPrefix}resources/javascripts/clicker.js") - script(src="#{dirPrefix}resources/javascripts/jquery-scrollspy.js") - script(defer, src="#{dirPrefix}resources/javascripts/disqus-ext.js") - script(defer, src="#{dirPrefix}resources/javascripts/ga.js") - -mixin identifyBuild(tree, type) - landingPage = 'true' - -dirPrefix = './' - -mixin markdown(text, inline) - != markdown(text, inline) \ No newline at end of file diff --git a/node_modules/ace/doc/template/jade/layout.jade b/node_modules/ace/doc/template/jade/layout.jade deleted file mode 100644 index c2911c69..00000000 --- a/node_modules/ace/doc/template/jade/layout.jade +++ /dev/null @@ -1,12 +0,0 @@ -include common_layout -include lib - -#documentation.span9 - -if (isIndex) - != indexContent - -else - mixin api() - - mixin endingScripts - - div(id="disqus_thread") \ No newline at end of file diff --git a/node_modules/ace/doc/template/jade/lib.jade b/node_modules/ace/doc/template/jade/lib.jade deleted file mode 100644 index 62ee92d2..00000000 --- a/node_modules/ace/doc/template/jade/lib.jade +++ /dev/null @@ -1,217 +0,0 @@ -- var methodSection, constructorSection, propertySection, eventSection; - --function renameMemberTitle(title, count) - if title.indexOf("ethods") >= 0 - span Functions (#{count}) - else if title.indexOf("ropert") >= 0 - span Properties (#{count}) - else - span #{title} (#{count}) - -mixin article(obj, parents) - if typeof obj === 'string' - obj = list[obj] - - if (obj.private !== true && obj.name.charAt(0) !== "$") - title = obj.path + (obj.type ? ' (' + obj.type + ')' : '') - article.article(id=obj.path, data-title=title) - if obj.type === 'section' || obj.type === 'namespace' || obj.type === 'class' || obj.type === 'mixin' - - if obj.stability - mixin markdown(">" + obj.stability) - - if obj.description - .section.description - .memberContent - mixin markdown(obj.description) - - else - .section.method - .memberContent - if obj.signatures - div.title - i(id='#{obj.path}', class='methodToggle methodClicker inactive icon-caret-right') - ul.signatures - -var loops = 0; - for sig in obj.signatures - li.signature - ul - li.signature-call!= signature(obj, sig, ["methodClicker"]) - if sig.returns - li.signature-returns - ul.argument-types - for ret in sig.returns - li.argument-type!= returnLink(obj, ret, []) - -if (loops == 0) - -loops = 1 // ensure that we only print ONE meta info UL per signature (some methods have multiple signatures) - ul.metaInfo - if obj.undocumented - li - span.label.undocumented Undocumented - if obj.experimental - li - span.label.experimental Experimental - if obj.readonly - li - span.label.read-only Read-Only - if obj.chainable - li - span.label.chainable Chainable - if obj.internal - li - span.label.internal Internal - if obj.deprecated - li - span.label.deprecated - | Deprecated - if obj.deprecated.from - | (since #{obj.deprecated.from}) - if obj.deprecated.off - | and will be removed on #{obj.deprecated.off} - if obj.alias_of - li - span.label.alias.single - | Aliased as: - != link(obj.alias_of) - else if obj.aliases.length - li - span.label.alias.multiple - | Aliased as: - ul.alias - for alias in obj.aliases - li - mixin link(alias) - - if obj.related_to - li - span.label.related-to - | Related to - mixin link(obj.related_to, ["relatedToLink"]) - - div.sideToggler - - div(id='ellipsis_#{obj.path}', class='ellipsis_description') - mixin markdown(obj.short_description) - - - div.description - - mixin markdown(obj.description) - - if obj.bound && ~obj.bound.indexOf('#') - p.note.methodized - | This method can be called either as an - != link(obj.bound, ['link-short'], 'instance method') - | or as a generic method. If calling as generic, pass the instance in as the first argument. - else if obj.bound && !~obj.bound.indexOf('#') - p.note.functionalized - | This method can be called either as an instance method or as a - != link(obj.bound, ['link-short'], 'generic method') - |. If calling as generic, pass the instance in as the first argument. - - if obj.arguments && obj.arguments.length - h4 Arguments - != argumentTable(obj.arguments, ["argument-list", "table", "table-striped", "table-bordered"]) - - if obj.returns && obj.returns.length - h4 Returns - != returnTable(obj.returns, ["return-list", "table", "table-striped", "table-bordered"]) - - //- children - for child in obj.children.filter(function(x){return x.type === 'section'}) - mixin article(child, parents.concat(obj)) - for child in obj.children.filter(function(x){return x.type === 'utility'}) - mixin article(child, parents.concat(obj)) - - for child in obj.children.filter(function(x){return x.type === 'constructor'}) - - if (!constructorSection) - - constructorSection = true - h3.sectionHeader Constructors - mixin article(child, parents.concat(obj)) - - for child in obj.children.filter(function(x){return x.type === 'event'}) - - if (!eventSection) - - eventSection = true - h3.sectionHeader Events - mixin article(child, parents.concat(obj), 'event') - - for child in obj.children.filter(function(x){return x.type === 'class method'}) - - if (!methodSection) - - methodSection = true - h3.sectionHeader Methods - mixin article(child, parents.concat(obj)) - - for child in obj.children.filter(function(x){return x.type === 'class property'}) - - if (!propertySection) - - propertySection = true - h3.sectionHeader Properties - mixin article(child, parents.concat(obj)) - - for child in obj.children.filter(function(x){return x.type === 'instance method'}) - mixin article(child, parents.concat(obj)) - for child in obj.children.filter(function(x){return x.type === 'instance property'}) - mixin article(child, parents.concat(obj)) - for child in obj.children.filter(function(x){return x.type === 'constant'}) - mixin article(child, parents.concat(obj)) - - - -mixin api() - -pos = 0 - for obj in tree.children - -if (obj.subclasses.length == 0) - mixin render_starting_tabs(obj, pos) - -else - mixin render_starting_tabs(obj, pos) - for child in obj.children.filter(function(x){return x.type === 'namespace' || x.type === 'class' || x.type === 'mixin'}) - -pos++ - mixin render_starting_tabs(child, pos) - - -mixin render_starting_tabs(obj, pos) - .classContent - .membersBackground - - div(class=' members pos#{pos}') - div(class=' membersContent pos#{pos}') - h1.memberHeader - -var heading = obj.path - span.name #{heading} - - -if (true || obj.filename.indexOf("index") < 0) - ul(class='nav tabs pos#{pos}', data-tabs='tabs') - for selector, title in {'Events': ['event', 'events'], 'Constructors': ['constructor', 'constructors'], 'Class methods': ['class method', 'class_methods'], 'Class properties': ['class property', 'class_properties'], 'Instance methods': ['instance method', 'instance_methods'], 'Instance properties': ['instance property', 'instance_properties'], 'Constants': ['constant', 'constants']} - members = obj.children.filter(function(x){return x.type === selector[0]}) - li(class="dropdown", data-dropdown="dropdown") - if members.length - a(href="\#", class="dropdown-toggle", data-toggle="dropdown") - != renameMemberTitle(title, members.length) - b.caret - ul.dropdown-menu - for m in members - if (m.private !== true && m.name.charAt(0) !== "$") - li(id='dropdown_#{m.path}', data-id='#{m.path}', class='memberLink') - mixin link(m, [], true) - -methodSection = constructorSection = propertySection = eventSection = false; - mixin article(obj, []) - -mixin short_description_list(collection) - ul.method-details-list - for obj in collection - if typeof obj === 'string' - obj = list[obj] - li.method-description - h4 - mixin link(obj) - if obj.short_description - mixin markdown(obj.short_description) - -mixin link(obj, classes, short) - l = link(obj, classes, short) - != l - -mixin links(collection) - ul.method-list - for obj in collection - li - mixin link(obj) \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/csses/ace_api.css b/node_modules/ace/doc/template/resources/csses/ace_api.css deleted file mode 100644 index 7a90b4c3..00000000 --- a/node_modules/ace/doc/template/resources/csses/ace_api.css +++ /dev/null @@ -1,912 +0,0 @@ -/* - Generic "affects everything" stuff -*/ - -#wrapper .content .column2 { - float: none; -} - -#documentation ul { - font-size: 13px; -} - -#documentation li { - color: black; -} - -pre { - background-color: #FFFFFF; -} - -code { - font-size: 12px; - line-height: 16px; - font-family: 'Ubuntu Mono',Monaco,Consolas,monospace !important; - background-color: #F9F9F9; - border-radius: 3px 3px 3px 3px; - display: inline-block; - padding: 0 4px; - margin: 2px 1px; - color: inherit; -} - -#documentation pre { - margin-top: 10px; - border-radius: none; - box-shadow: none; - background : white; - /*background : #f5f5f5; - border: 0;*/ - - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; - - padding: 5px; -} - -.method pre, .event pre, .property pre { - background : white; -} - -#documentation pre code { - background-color: transparent; - border-radius: none; - box-shadow: none; -} - -#documentation a code { - color: #00438a; -} - -#documentation h2 { - font-size: 26px; -} -#documentation p { - font-size: 13px; -} -#documentation li p:last-child { - margin-bottom : 5px; -} - -#documentation blockquote p{ - font-size: 14px; - font-weight: 500; - line-height: 23px; - font-style: italic; -} - -.alert-message{ - margin-bottom : 13px; -} -/* - Header and shoulders -*/ - -.navbar .nav > li { - float:none; - display:inline-block; - *display:inline; /* ie7 fix */ - zoom:1; /* hasLayout ie7 trigger */ -} - -.navbar .nav > li > a { - padding: 10px 15px 11px; -} - -.navbar { - text-align:center; -} - -#topSection { - width: 1000px; -} -.small_win #topSection { - width: 100%; -} -.small_win #topSection .dropdown { - margin-right: 40%; -} -.navbar .brand { - margin-left: 0px; -} -.brand { - background: transparent url(../images/ace_logo_menu.png) no-repeat 33px 5px; - width: 80px; - outline: none; - height: 40px; - padding: 0 10px !important; - border: none; -} -.brand.dropdown-toggle:after { - content: none; - display: block; - height: 40px; - border: none; -} - -.ace_logo { - position: absolute; - top: 45px; - z-index: 20000; - left: 210px; -} - -.headerTitle { - position: relative; - top: 100px; - left: 250px; -} - -/* - Menu venue -*/ - - -h3.api_title { - padding-top: 10px; -} - -ul.menu { - margin-left: 2px; -} - -.menu li { - list-style-image: url(../images/menu_disc.png); - margin-bottom: 4px; - font-weight: 700; - padding-left: 10px; - margin-left: 0; -} - -.menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink { - color: #3E7096; - font-weight: 100; -} -.menuTwo { - margin-bottom: 5px; - margin-top: 2px; -} -.menuTwo li .menu-item a.menuLink { - color: #3E7096; - font-weight: 100; -} - -/* need specificity to "beat" the above colors */ -.menu li .menu-item a.currentItem, .menuTwo li .menu-item { - color: #0072bc; -} - -/* - Members and the tabs that represent them -*/ - -.srolled .members { - width: 100%; -/* -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); - -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); - box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); */ - padding-bottom: 15px; -/* height: 31px;*/ - position: fixed; -} -.shadow.members{ - background: #edf8fd; - box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); - -moz-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); - -o-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); - -webkit-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); -} - -.membersContent { - -/* border-bottom: 0.1em solid #FFF;*/ - height: 3em; - padding-top: 4px; -/* line-height: 4;*/ -/* margin-top: -0.1em;*/ - position: relative; -/* transition-property: border-color, line-height; - transition-duration: 125ms, 250ms; - transition-timing-function: ease-out, ease-out; - -moz-transition-property: border-color, line-height; - -moz-transition-duration: 125ms, 250ms; - -moz-transition-timing-function: ease-out, ease-out; - -o-transition-property: border-color, line-height; - -o-transition-duration: 125ms, 250ms; - -o-transition-timing-function: ease-out, ease-out; - -webkit-transition-property: border-color, line-height; - -webkit-transition-duration: 125ms, 250ms; - -webkit-transition-timing-function: ease-out, ease-out;*/ - - /*transition-duration: 125ms; - transition-property: top; - transition-timing-function: ease-out; - - top : 11px;*/ - z-index: 103; - padding-right: 10px; - margin-right: -5px; - /*width: 700px;*/ -} -.srolledHeader .membersContent { - line-height: 3; -} -.srolled .membersContent { - /*top : 0;*/ - width: 625px; - padding-left: 327px; - margin : 0 auto 0 auto; -} - -.srolled ul.nav { - padding-right: 10px; -} - -.membersBackground { -/* background-color: white; - position: fixed; - z-index: 2; - top: 40px; - left: 0px; - right: 0px; - width: 100%; - height: 55px; - opacity: 0; - display: none; - box-shadow: rgba(0, 0, 0, 0.398438) 1px 4px 6px;*/ - - background-color: transparent; - height: 47px; - /*width: 700px;*/ - position: absolute; -} -.srolled .membersBackground { - position: relative; -} -.srolledHeader .membersBackground { -/* display: block;*/ -} -.memberHeader { - float: left; - padding-right: 10px; - margin-bottom: 5px; - position: absolute; - padding-top: 4px; - -} - -ul.tabs li:first-child ul{ - left: -63px; -} - -.tabs a.menu:after, .tabs .dropdown-toggle:after { - margin-top: 22px; -} - -.nav .dropdown-toggle .caret { - margin-top: 12px; - border-top-color: #6D8CA0; - border-bottom-color: #6D8CA0; -} - -li.dropdown { - color: #2D2D2D; - font-weight: bold; -} - -.editInC9 { - font-size: 11px; - color: #657383; -} - -.editInC9 a { - color: #657383; - font-weight: normal; - position : relative; - top : -2px; -} - -.tabs { - padding-top: 14px; - /*border-bottom: 1px solid #848484;*/ - min-height : 27px; - padding-bottom : 5px; -} -.tabsSansBorder { - border: 0; -} -.tabs, .pills { - margin-bottom: 0; -} -.srolledHeader .members .tabs { - background-color: white; -} - -li.dropdown { - color: #2D2D2D; - font-weight: bold; -} - -.members .tabs .dropdown a, -.members .tabs a.menu:after, -.members .tabs .dropdown-toggle:after { - margin-right: 0; - margin-left: 6px; -} - -.memberLink a { - margin-left: 0 !important; -} -.menu-dropdown { - min-width : 105px; - max-height: 350px; - overflow: auto; - border-color : rgba(0, 0, 0, 0.1); -} -.topbar div > ul .menu-dropdown li a:hover, -.nav .menu-dropdown li a:hover, -.topbar div > ul .dropdown-menu li a:hover, -.nav .dropdown-menu li a:hover { - background-color: #ffffff; - color: #000000; -} - -.tabs a.menu:after, .tabs .dropdown-toggle:after { - margin-top: 13px; - line-height: 28px; -} -.open .menu, .dropdown.open .menu, .open .dropdown-toggle, .dropdown.open .dropdown-toggle { - background: transparent; - color: black; -/* font-weight: bold;*/ -} -#topSection .open .menu, #topSection .dropdown.open .menu, #topSection .open .dropdown-toggle, -#topSection .dropdown.open .dropdown-toggle { - color: #bfbfbf; -} - -.tabs > li { - font-weight: bold; -} - -.tabs > li > a { - border: none; - outline: none; - line-height: 28px; - font-size: 11px; - padding: 0 5px; -} -.tabs > li > a:hover { - color: #000000; - text-decoration: none; - background-color: transparent; - border: none; -} -.tabs > li, .pills > li { - float: right; -} -.topbar .dropdown-menu a, .dropdown-menu a { - font-size: 11px; -/* padding: 2px 12px;*/ - line-height: 14px; -} -.tabs .active > a, .tabs .active > a:hover { - color: #000000; - border: none; - cursor: default; -} -.tabs .menu-dropdown, .tabs .dropdown-menu { - border-radius: 0 0 6px 6px; - left: 10px; - width: 160px; -} -.srolled .tabs .menu-dropdown, .srolled .tabs .dropdown-menu { - top: 32px; -} -.dropdown-toggle { - color: #6D8CA0; -} - -ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{ - width:760px; - margin-bottom:20px; - overflow:hidden; - border-top:1px solid #ccc; -} -/*ul.tabs .double li, ul.tabs .triple li, ul.tabs .quad li{ - line-height:1.5em; - border-bottom:1px solid #ccc; - float:left; - display:inline; -}*/ - -/* - Center content (the "real stuff") -*/ - -#nonFooter { - padding-top: 40px; -} -#wrapper { - height: 100%; -} - -.content { - height: 100%; -} - -header.filler { - position: relative; - height: 40px; - width: 100%; -} - -/* -.container-fluid .row-fluid { - width: 1000px; - margin-left: auto; - margin-right: auto; -}*/ - -.divider { - height: 3px; - background-color: #BEDAEA; - margin-bottom: 3px; -} - -#sidebar h3 a, -#sidebar h3 a:hover { - color: #404040; -} - -#sidebarContainer { - padding-top: 20px; -} - -#mainContent { - margin-left: 30px; -} - -#documentation { - padding-top: 35px; - padding-bottom: 10px; -} - -#documentation article.article { - border-top: 1px solid #e9e9e9; - padding: 16px 10px 2px; - -webkit-transition: padding 0.2s; - -moz-transition: padding 0.2s; - -o-transition: padding 0.2s; -} - -#documentation h3.sectionHeader + article.article { - border-top: none; -} - -div#documentation article:last-child { - border-bottom: 1px solid #e9e9e9; - padding-bottom: 40px; -} -#documentation article.article.methodToggleOpen { - background: rgba(255, 255, 255, 0.5); - font-size: 13px; - line-height: 24px; - margin: 0 0 10px 0; -} - -#documentation article:first-child { - border:none; -} - -.site_logo { - display: block; - margin-left: auto; - margin-right: auto; -} -/* - Edit in Cloud9, sucka -*/ - -.snippet pre { - margin-bottom: 0; -} - -.snippet .toolbar { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - - text-align: right; - padding: 3px 10px; - margin-top : -1px; -} - -.snippet .filename, .snippet .toolbar { - font-family: Ubuntu, sans-serif; - font-size: 12px; - color: #EEE; -} - -.snippet .filename { - padding: 0 5px 2px 5px; - font-size: 10px; - background: rgba(230,230,230,0.5); - padding: 0 5px 2px 5px; - border-radius: 0 6px 0 6px; - margin : 1px; - position : absolute; - right : 0; - top : 0; -} - -.snippet .filename span{ - color : #666; -} - -.snippet .toolbar { - background-color: rgba(30,30,30,0.5); -} - -div.snippet { - margin-bottom: 18px; - position : relative; -} - -div.snippet a, div.toolbar a { - color: #FFF; -} - -/* - All about signatures -*/ - -.signatures { -/* width: 800px;*/ - margin-left: 20px; - margin-bottom: 5px; -} -.sideToggler { - padding-left: 20px; -} -ul.signatures ul { - list-style: none; - display: inline; -} - -li.signature { - list-style: none; -} - -.signature ul { - padding: 0; - margin: 0; -} - -.signature li { - display: inline; -} - -.signature ul.argument-types::before { - content: '→'; - margin: 0 5px; -} - -.signature li.argument-type::after { - content: '|'; - padding: 0 5px 0 5px; -} - -.signature li.argument-type:last-child:after { - content: ''; - padding: 0 5px 0 5px; -} - -.member-name { - color: #4397cd; - font-weight: bold; - text-decoration: none; - cursor: pointer; - padding-right: 3px; -} - -.signature-call { - cursor: pointer; -} - -#documentation .signature-call a { - color: #8e487e; -} - -.sigClassName { - display: none; -} - -.eventObjName { - font-style: italic; -} -.eventListenerStart, .eventListenerClose, .eventFunctionOpen, .eventFunctionClose { - color: #999999; -} -.eventMember { - padding-right: 0px; -} - -.metaInfo { - float: right; - z-index: 1; - position: relative; -} - -.chainable { - background-color: #0072bc; - color: #ffffff; -} - -.deprecated { - background-color: #f7941d; - color: #ffffff; -} - -.alias { - background-color: #6c951e; - color: #ffffff; -} - -.related-to { - background-color: #89289a; - color: #ffffff; - font-size: 10px; - padding: 2px 5px 3px; - text-transform: capitalize; -} - -.undocumented { - background-color: #B94A48; - color: #ffffff; -} - -#documentation .alias a, #documentation .related-to a { - color: #ffffff; - /* text-decoration: underline; */ -} -#documentation .alias a:hover, #documentation .related-to a:hover { - text-decoration: none; -} -.#documentation alias:hover, #documentation .related-to:hover { - opacity: 0.8; - cursor: pointer; -} -.memberContent .title { - -} -.memberContent .description { - position:relative; - /*top: -13px;*/ - display: none; -} -.snip-container .actions .toggle-plaintext label { - margin-top: 1px; - padding-top: 0; - text-align: left; -} -.snip-container .actions .toggle-plaintext input { - margin-top: 4px !important; -} -.snip-container label { - color: #ffffff; -} -.description h4 { - padding-top: 10px; - font-size: 18px; - line-height : 18px; -} - -.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th { - background-color: #F9F9F9; -} -.table-striped tbody tr:nth-child(even) td, .table-striped tbody tr:nth-child(even) th { - background-color: #fbfbfb; -} - -.argument-list { - margin-bottom : 13px; -} -.argName { - font-style: italic; -} - - -/* - Everyday I'm togglin' -*/ - -#documentation i.methodToggle { - cursor: pointer; - color: #9f9f9f; - padding-top: 2px; - float: left; -} -#documentation i.methodToggle.methodToggleHover { - text-shadow: 0 0 10px #4699d5; - color: #4699d5; -} -#documentation i.methodToggle.active { - text-shadow: 0 0 10px #4699d5; - color: #4699d5; - /* Safari */ - -webkit-transform: rotate(45deg); - - /* Firefox */ - -moz-transform: rotate(45deg); - - /* IE */ - -ms-transform: rotate(45deg); - - /* Opera */ - -o-transform: rotate(45deg); - padding-top: 9px; -} - -#documentation h3.sectionHeader { - line-height : 24px; -} - -div.method { - position: relative; -} - -.methodToggle a { - color: #fff; - border-bottom: 0px; - text-decoration: none; -} - -h3.methodToggle { - height : 13px; - width : 8px; - background-position : 0px 0px; - position: absolute; - top: -20px; - background-image : url(../images/member-sprites.png); - background-color : transparent; - background-repeat : no-repeat; - overflow: hidden; - left: 0px; -} - -h3.methodToggleHover { - /* background-position : 0px -28px; */ -} - -h3.methodToggle.inactive { - top: 4px; -} - -h3.methodToggle.active { - top: 6px; - height : 13px; - width : 8px; - background-position : 0px -59px; -} - -.hidden { - display: none; - visibility: hidden; -} - -.hiddenSpan { - display: none; -} - -.ellipsis_description, .short_description { -/* width: 800px;*/ -} -.methodToggleOpen .ellipsis_description { - display: none; -} -.sideToggler .short_description, -.sideToggler .description{ - display: none; -} -.methodToggleOpen .short_description, -.methodToggleOpen .description { - display: block; -} -.description td p { - margin: 0; -} -/* - Footer? I hardly know her -*/ - -#footer { - width:100%; - background: #101010 url(../images/dashed_back.png) repeat 0 0; - font-size: 12px; - color: white; - height: 40px; -} -#footer .footerInner { - padding-left: 300px; - margin-left: auto; - margin-right: auto; - min-height: 40px; -} -#footer .footer-text { - display: block; - font-size: 12px; - float: right; -} -#footer div.footerInner div.footer-text p { - font-size: 12px; - font-family: Arial; - line-height: 18px; - margin: 10px 15px 0px 1px; -} - -#footer a, #footer a:hover { - color: #8DD0FF; -} - -.logoText, .logoImg { - /*position: absolute;*/ - margin-bottom: 5px; -} - -.logoImg { - top: 40px; -} -.topbar div > ul .menu-dropdown li a:hover, -.nav .menu-dropdown li a:hover, -.topbar div > ul .dropdown-menu li a:hover, -.nav .dropdown-menu li a:hover { - background-color: #191919; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919)); - background-image: -moz-linear-gradient(top, #292929, #191919); - background-image: -ms-linear-gradient(top, #292929, #191919); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919)); - background-image: -webkit-linear-gradient(top, #292929, #191919); - background-image: -o-linear-gradient(top, #292929, #191919); - background-image: linear-gradient(top, #292929, #191919); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0); - color: #ffffff; -} - -.alert-message.block-message { - background: #fefaca; - border-color : #fefaca; - padding : 8px 14px 8px 14px; -} - -body .dsq-reply{ - margin-top : 10px; -} - -#disqus_thread{ - border-top : 1px solid #ddd; - margin-top : 30px; -} - -#disqus_thread h3, body #dsq-content h3 { - font-size : 12px; - margin : 0 0 20px 0; - line-height : 12px; -} -body #dsq-reply h3{ - font-size : 18px; - line-height : 18px; - margin : 15px 0 20px 0; -} - -#disqus_thread select{ - font-size : 11px; - height : 20px; - color : #444; -} - -#dsq-global-toolbar, #dsq-pagination, .dsq-trackback-url{ - display : none; -} diff --git a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.eot b/node_modules/ace/doc/template/resources/font/fontawesome-webfont.eot deleted file mode 100644 index 89070c1e..00000000 Binary files a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.eot and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.svg b/node_modules/ace/doc/template/resources/font/fontawesome-webfont.svg deleted file mode 100644 index 1245f92c..00000000 --- a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.svg +++ /dev/null @@ -1,255 +0,0 @@ - - - \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.ttf b/node_modules/ace/doc/template/resources/font/fontawesome-webfont.ttf deleted file mode 100644 index c17e9f8d..00000000 Binary files a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.ttf and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.woff b/node_modules/ace/doc/template/resources/font/fontawesome-webfont.woff deleted file mode 100644 index 09f2469a..00000000 Binary files a/node_modules/ace/doc/template/resources/font/fontawesome-webfont.woff and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/Ace_ERD.png b/node_modules/ace/doc/template/resources/images/Ace_ERD.png deleted file mode 100644 index 78fb8dab..00000000 Binary files a/node_modules/ace/doc/template/resources/images/Ace_ERD.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/ace_logo.png b/node_modules/ace/doc/template/resources/images/ace_logo.png deleted file mode 100644 index 4dab4f66..00000000 Binary files a/node_modules/ace/doc/template/resources/images/ace_logo.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/ace_logo_menu.png b/node_modules/ace/doc/template/resources/images/ace_logo_menu.png deleted file mode 100644 index b011fadd..00000000 Binary files a/node_modules/ace/doc/template/resources/images/ace_logo_menu.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/c9-log-footer.png b/node_modules/ace/doc/template/resources/images/c9-log-footer.png deleted file mode 100644 index f3bcb4d7..00000000 Binary files a/node_modules/ace/doc/template/resources/images/c9-log-footer.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/c9-sponsor.png b/node_modules/ace/doc/template/resources/images/c9-sponsor.png deleted file mode 100644 index 599d3b49..00000000 Binary files a/node_modules/ace/doc/template/resources/images/c9-sponsor.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/cloud9-logo.png b/node_modules/ace/doc/template/resources/images/cloud9-logo.png deleted file mode 100644 index 912524a9..00000000 Binary files a/node_modules/ace/doc/template/resources/images/cloud9-logo.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/content-top.png b/node_modules/ace/doc/template/resources/images/content-top.png deleted file mode 100644 index ec4ccad0..00000000 Binary files a/node_modules/ace/doc/template/resources/images/content-top.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/content_bg.png b/node_modules/ace/doc/template/resources/images/content_bg.png deleted file mode 100644 index 928f81e4..00000000 Binary files a/node_modules/ace/doc/template/resources/images/content_bg.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/content_top_bg.png b/node_modules/ace/doc/template/resources/images/content_top_bg.png deleted file mode 100644 index 42039338..00000000 Binary files a/node_modules/ace/doc/template/resources/images/content_top_bg.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/dashed_back.png b/node_modules/ace/doc/template/resources/images/dashed_back.png deleted file mode 100644 index c6ee9313..00000000 Binary files a/node_modules/ace/doc/template/resources/images/dashed_back.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/footer-bg.png b/node_modules/ace/doc/template/resources/images/footer-bg.png deleted file mode 100644 index 0d572c28..00000000 Binary files a/node_modules/ace/doc/template/resources/images/footer-bg.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/main_bg.png b/node_modules/ace/doc/template/resources/images/main_bg.png deleted file mode 100644 index f26aefc2..00000000 Binary files a/node_modules/ace/doc/template/resources/images/main_bg.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/member-sprites.png b/node_modules/ace/doc/template/resources/images/member-sprites.png deleted file mode 100644 index 96b0520f..00000000 Binary files a/node_modules/ace/doc/template/resources/images/member-sprites.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/menu_disc.png b/node_modules/ace/doc/template/resources/images/menu_disc.png deleted file mode 100644 index 1d3925b3..00000000 Binary files a/node_modules/ace/doc/template/resources/images/menu_disc.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/method_bg.png b/node_modules/ace/doc/template/resources/images/method_bg.png deleted file mode 100644 index b0189557..00000000 Binary files a/node_modules/ace/doc/template/resources/images/method_bg.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/scrolled-heading-shadow.png b/node_modules/ace/doc/template/resources/images/scrolled-heading-shadow.png deleted file mode 100644 index aed814ee..00000000 Binary files a/node_modules/ace/doc/template/resources/images/scrolled-heading-shadow.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/sidebar-top-bg.png b/node_modules/ace/doc/template/resources/images/sidebar-top-bg.png deleted file mode 100644 index c0a800e1..00000000 Binary files a/node_modules/ace/doc/template/resources/images/sidebar-top-bg.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/sidebar_border.png b/node_modules/ace/doc/template/resources/images/sidebar_border.png deleted file mode 100644 index ea6cd700..00000000 Binary files a/node_modules/ace/doc/template/resources/images/sidebar_border.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/images/swirl_divider.png b/node_modules/ace/doc/template/resources/images/swirl_divider.png deleted file mode 100644 index f3e9f6c6..00000000 Binary files a/node_modules/ace/doc/template/resources/images/swirl_divider.png and /dev/null differ diff --git a/node_modules/ace/doc/template/resources/javascripts/bbq.js b/node_modules/ace/doc/template/resources/javascripts/bbq.js deleted file mode 100644 index bcbf2483..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/bbq.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 - * http://benalman.com/projects/jquery-bbq-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M\ - \ - Oh No! Couldn\'t load\ -build/src/ace.js.
\ - You can build it by runningnode Makefile.dryice.js
\ - Or download older version by runninggit submodule update --init --recursive
\ -').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this); \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/bootstrap.js b/node_modules/ace/doc/template/resources/javascripts/bootstrap.js deleted file mode 100644 index 79241e74..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/bootstrap.js +++ /dev/null @@ -1,389 +0,0 @@ -/* ============================================================ - * bootstrap-dropdown.js v2.1.1 - * http://twitter.github.com/bootstrap/javascript.html#dropdowns - * ============================================================ - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============================================================ */ - - -!function ($) { - - "use strict"; // jshint ;_; - - - /* DROPDOWN CLASS DEFINITION - * ========================= */ - - var toggle = '[data-toggle=dropdown]' - , Dropdown = function (element) { - var $el = $(element).on('click.dropdown.data-api', this.toggle) - $('html').on('click.dropdown.data-api', function () { - $el.parent().removeClass('open') - }) - } - - Dropdown.prototype = { - - constructor: Dropdown - - , toggle: function (e) { - var $this = $(this) - , $parent - , isActive - - if ($this.is('.disabled, :disabled')) return - - $parent = getParent($this) - - isActive = $parent.hasClass('open') - - clearMenus() - - if (!isActive) { - $parent.toggleClass('open') - $this.focus() - } - - return false - } - - , keydown: function (e) { - var $this - , $items - , $active - , $parent - , isActive - , index - - if (!/(38|40|27)/.test(e.keyCode)) return - - $this = $(this) - - e.preventDefault() - e.stopPropagation() - - if ($this.is('.disabled, :disabled')) return - - $parent = getParent($this) - - isActive = $parent.hasClass('open') - - if (!isActive || (isActive && e.keyCode == 27)) return $this.click() - - $items = $('[role=menu] li:not(.divider) a', $parent) - - if (!$items.length) return - - index = $items.index($items.filter(':focus')) - - if (e.keyCode == 38 && index > 0) index-- // up - if (e.keyCode == 40 && index < $items.length - 1) index++ // down - if (!~index) index = 0 - - $items - .eq(index) - .focus() - } - - } - - function clearMenus() { - getParent($(toggle)) - .removeClass('open') - } - - function getParent($this) { - var selector = $this.attr('data-target') - , $parent - - if (!selector) { - selector = $this.attr('href') - selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - $parent = $(selector) - $parent.length || ($parent = $this.parent()) - - return $parent - } - - - /* DROPDOWN PLUGIN DEFINITION - * ========================== */ - - $.fn.dropdown = function (option) { - return this.each(function () { - var $this = $(this) - , data = $this.data('dropdown') - if (!data) $this.data('dropdown', (data = new Dropdown(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - $.fn.dropdown.Constructor = Dropdown - - - /* APPLY TO STANDARD DROPDOWN ELEMENTS - * =================================== */ - - $(function () { - $('html') - .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) - $('body') - .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) - .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle) - .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) - }) - -}(window.jQuery); -/* ======================================================== - * bootstrap-tab.js v2.1.1 - * http://twitter.github.com/bootstrap/javascript.html#tabs - * ======================================================== - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================== */ - - -!function ($) { - - "use strict"; // jshint ;_; - - - /* TAB CLASS DEFINITION - * ==================== */ - - var Tab = function (element) { - this.element = $(element) - } - - Tab.prototype = { - - constructor: Tab - - , show: function () { - var $this = this.element - , $ul = $this.closest('ul:not(.dropdown-menu)') - , selector = $this.attr('data-target') - , previous - , $target - , e - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - if ( $this.parent('li').hasClass('active') ) return - - previous = $ul.find('.active a').last()[0] - - e = $.Event('show', { - relatedTarget: previous - }) - - $this.trigger(e) - - if (e.isDefaultPrevented()) return - - $target = $(selector) - - this.activate($this.parent('li'), $ul) - this.activate($target, $target.parent(), function () { - $this.trigger({ - type: 'shown' - , relatedTarget: previous - }) - }) - } - - , activate: function ( element, container, callback) { - var $active = container.find('> .active') - , transition = callback - && $.support.transition - && $active.hasClass('fade') - - function next() { - $active - .removeClass('active') - .find('> .dropdown-menu > .active') - .removeClass('active') - - element.addClass('active') - - if (transition) { - element[0].offsetWidth // reflow for transition - element.addClass('in') - } else { - element.removeClass('fade') - } - - if ( element.parent('.dropdown-menu') ) { - element.closest('li.dropdown').addClass('active') - } - - callback && callback() - } - - transition ? - $active.one($.support.transition.end, next) : - next() - - $active.removeClass('in') - } - } - - - /* TAB PLUGIN DEFINITION - * ===================== */ - - $.fn.tab = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('tab') - if (!data) $this.data('tab', (data = new Tab(this))) - if (typeof option == 'string') data[option]() - }) - } - - $.fn.tab.Constructor = Tab - - - /* TAB DATA-API - * ============ */ - - $(function () { - $('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { - e.preventDefault() - $(this).tab('show') - }) - }) - -}(window.jQuery); -/* ========================================================== - * bootstrap-affix.js v2.1.1 - * http://twitter.github.com/bootstrap/javascript.html#affix - * ========================================================== - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ========================================================== */ - - -!function ($) { - - "use strict"; // jshint ;_; - - - /* AFFIX CLASS DEFINITION - * ====================== */ - - var Affix = function (element, options) { - this.options = $.extend({}, $.fn.affix.defaults, options) - this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this)) - this.$element = $(element) - this.checkPosition() - } - - Affix.prototype.checkPosition = function () { - if (!this.$element.is(':visible')) return - - var scrollHeight = $(document).height() - , scrollTop = this.$window.scrollTop() - , position = this.$element.offset() - , offset = this.options.offset - , offsetBottom = offset.bottom - , offsetTop = offset.top - , reset = 'affix affix-top affix-bottom' - , affix - - if (typeof offset != 'object') offsetBottom = offsetTop = offset - if (typeof offsetTop == 'function') offsetTop = offset.top() - if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() - - affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? - false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? - 'bottom' : offsetTop != null && scrollTop <= offsetTop ? - 'top' : false - - if (this.affixed === affix) return - - this.affixed = affix - this.unpin = affix == 'bottom' ? position.top - scrollTop : null - - this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : '')) - } - - - /* AFFIX PLUGIN DEFINITION - * ======================= */ - - $.fn.affix = function (option) { - return this.each(function () { - var $this = $(this) - , data = $this.data('affix') - , options = typeof option == 'object' && option - if (!data) $this.data('affix', (data = new Affix(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - $.fn.affix.Constructor = Affix - - $.fn.affix.defaults = { - offset: 0 - } - - - /* AFFIX DATA-API - * ============== */ - - $(window).on('load', function () { - $('[data-spy="affix"]').each(function () { - var $spy = $(this) - , data = $spy.data() - - data.offset = data.offset || {} - - data.offsetBottom && (data.offset.bottom = data.offsetBottom) - data.offsetTop && (data.offset.top = data.offsetTop) - - $spy.affix(data) - }) - }) - - -}(window.jQuery); \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/clicker.js b/node_modules/ace/doc/template/resources/javascripts/clicker.js deleted file mode 100644 index 90e7e12c..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/clicker.js +++ /dev/null @@ -1,69 +0,0 @@ -function setupClicker() { - // when hovering over arrow, add highlight (only if inactive) - $("i.methodToggle").hover(function () { - if (!$("i.methodToggle").hasClass('active')) - $(this).addClass("methodToggleHover"); - }, - function () { - $(this).removeClass("methodToggleHover"); - } - ); - - function handleClick(e, linkHref) { - //if (linkHref.indexOf("nav=api&api=") >= 0) - // return; - if (linkHref == "api") - return; - - e.preventDefault(); - - var dstElem; - if (linkHref) { - dstElem = $("article[id='" + linkHref + "']"); - } - - var $article = (dstElem || $(this)).closest('.article'), - $arrow = $('i.methodClicker', $article); - - if (!$article.hasClass('methodToggleOpen') || this.force) { - $article.addClass('methodToggleOpen'); - $arrow.removeClass('inactive').addClass('active'); - - if (!$arrow[0]) - return; - - var data = $arrow[0].id.replace(/^js_/, ""); - //var state = {}; - //state.section = data; - //$.bbq.pushState(state); - - scrollTo(null, data); - } - else { - $article.removeClass('methodToggleOpen'); - $arrow.removeClass('active').addClass('inactive'); - } - } - - function transformHash(e) { - // some bs to figure out link hash - var hashId = (e.srcElement ? e.srcElement.href : (e.hash || e.target.href)) || e.currentTarget.hash; - - handleClick(e, hashId.substring(hashId.indexOf("#") + 1)); - } - - // for the arrow - $("i.methodToggle").click(handleClick); - - // for the signature - $('.member-name').click(handleClick); - - // for the top dropdown - $('li.memberLink a').click(transformHash); - - //$('a[href^="#"]').click(transformHash); - - $('.related-to', '.metaInfo').click(function(){ - location.hash = $(this).find('a').attr('href').split('#')[1]; - }); -} \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/disqus-ext.js b/node_modules/ace/doc/template/resources/javascripts/disqus-ext.js deleted file mode 100644 index 6bb7ff4e..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/disqus-ext.js +++ /dev/null @@ -1,17 +0,0 @@ -function setupDisqus(href) { - var disqus_shortname = 'aceapi'; - - //var paths = window.location.pathname.split("/"); - //var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1]; - - //var disqus_identifier = fileName; - var disqus_identifier = href.substring(2); - - (function() { - if (document.getElementById("disqusScript") === null) { - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - } - })(); -} \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/jquery-scrollspy.js b/node_modules/ace/doc/template/resources/javascripts/jquery-scrollspy.js deleted file mode 100644 index 71b4a363..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/jquery-scrollspy.js +++ /dev/null @@ -1,98 +0,0 @@ -/*! - * jQuery Scrollspy Plugin - * Author: @sxalexander - * Licensed under the MIT license - */ - - -;(function ( $, window, document, undefined ) { - - $.fn.extend({ - scrollspy: function ( options ) { - - var defaults = { - min: 0, - max: 0, - mode: 'vertical', - buffer: 0, - container: window, - onEnter: options.onEnter ? options.onEnter : [], - onLeave: options.onLeave ? options.onLeave : [], - onTick: options.onTick ? options.onTick : [] - } - - var options = $.extend( {}, defaults, options ); - - return this.each(function (i) { - - var element = this; - var o = options; - var $container = $(o.container); - var mode = o.mode; - var buffer = o.buffer; - var enters = leaves = 0; - var inside = false; - - /* add listener to container */ - $container.bind('scroll', function(e){ - var position = {top: $(this).scrollTop(), left: $(this).scrollLeft()}; - var xy = (mode == 'vertical') ? position.top + buffer : position.left + buffer; - var max = o.max; - var min = o.min; - - /* fix max */ - if($.isFunction(o.max)){ - max = o.max(); - } - - /* fix max */ - if($.isFunction(o.min)){ - min = o.min(); - } - - if(max == 0){ - max = (mode == 'vertical') ? $container.height() : $container.outerWidth() + $(element).outerWidth(); - } - - /* if we have reached the minimum bound but are below the max ... */ - if(xy >= o.min && xy <= max){ - /* trigger enter event */ - if(!inside){ - inside = true; - enters++; - - /* fire enter event */ - $(element).trigger('scrollEnter', {position: position}) - if($.isFunction(o.onEnter)){ - o.onEnter(element, position); - } - - } - - /* triger tick event */ - $(element).trigger('scrollTick', {position: position, inside: inside, enters: enters, leaves: leaves}) - if($.isFunction(o.onTick)){ - o.onTick(element, position, inside, enters, leaves); - } - }else{ - - if(inside){ - inside = false; - leaves++; - /* trigger leave event */ - $(element).trigger('scrollLeave', {position: position, leaves:leaves}) - - if($.isFunction(o.onLeave)){ - o.onLeave(element, position); - } - } - } - }); - - }); - } - - }) - - -})( jQuery, window ); diff --git a/node_modules/ace/doc/template/resources/javascripts/jquery.collapse.js b/node_modules/ace/doc/template/resources/javascripts/jquery.collapse.js deleted file mode 100644 index 427ee5fa..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/jquery.collapse.js +++ /dev/null @@ -1,151 +0,0 @@ -/*! - * Collapse plugin for jQuery - * http://github.com/danielstocks/jQuery-Collapse/ - * - * @author Daniel Stocks (http://webcloud.se) - * @version 0.9.1 - * @updated 17-AUG-2010 - * - * Copyright 2010, Daniel Stocks - * Released under the MIT, BSD, and GPL Licenses. - */ - -(function($) { - - // Use a cookie counter to allow multiple instances of the plugin - var cookieCounter = 0; - - $.fn.extend({ - collapse: function(options) { - - var defaults = { - head : "h3", - group : "div, ul", - cookieName : "collapse", - // Default function for showing content - show: function() { - this.show(); - }, - // Default function for hiding content - hide: function() { - this.hide(); - } - }; - var op = $.extend(defaults, options); - - // Default CSS classes - var active = "active", - inactive = "inactive"; - - return this.each(function() { - - // Increment coookie counter to ensure cookie name integrity - cookieCounter++; - var obj = $(this), - // Find all headers and wrap them in for accessibility. - sections = obj.find(op.head).wrapInner(''), - l = sections.length, - cookie = op.cookieName + "_" + cookieCounter; - // Locate all panels directly following a header - var panel = obj.find(op.head).map(function() { - var head = $(this) - if(!head.hasClass(active)) { - return head.next(op.group).hide()[0]; - } - return head.next(op.group)[0]; - }); - - // Bind event for showing content - obj.bind("show", function(e, bypass) { - var obj = $(e.target); - // ARIA attribute - obj.attr('aria-hidden', false) - .prev() - .removeClass(inactive) - .addClass(active); - // Bypass method for instant display - if(bypass) { - obj.show(); - } else { - op.show.call(obj); - } - }); - - // Bind event for hiding content - obj.bind("hide", function(e, bypass) { - var obj = $(e.target); - obj.attr('aria-hidden', true) - .prev() - .removeClass(active) - .addClass(inactive); - if(bypass) { - obj.hide(); - } else { - op.hide.call(obj); - } - }); - - // Look for existing cookies - if(cookieSupport) { - for (var c=0;c<=l;c++) { - var val = $.cookie(cookie + c); - // Show content if associating cookie is found - if ( val == c + "open" ) { - panel.eq(c).trigger('show', [true]); - // Hide content - } else if ( val == c + "closed") { - panel.eq(c).trigger('hide', [true]); - } - } - } - - // Delegate click event to show/hide content. - obj.bind("click", function(e) { - var t = $(e.target); - // Check if header was clicked - if(!t.is(op.head)) { - // What about link inside header. - if ( t.parent().is(op.head) ) { - t = t.parent(); - } else { - return; - } - e.preventDefault(); - } - // Figure out what position the clicked header has. - var num = sections.index(t), - cookieName = cookie + num, - cookieVal = num, - content = t.next(op.group); - // If content is already active, hide it. - if(t.hasClass(active)) { - content.trigger('hide'); - cookieVal += 'closed'; - if(cookieSupport) { - $.cookie(cookieName, cookieVal, { path: '/', expires: 10 }); - } - return; - } - // Otherwise show it. - content.trigger('show'); - cookieVal += 'open'; - if(cookieSupport) { - $.cookie(cookieName, cookieVal, { path: '/', expires: 10 }); - } - }); - }); - } - }); - - // Make sure can we eat cookies without getting into trouble. - var cookieSupport = (function() { - try { - $.cookie('x', 'x', { path: '/', expires: 10 }); - $.cookie('x', null); - } - catch(e) { - return false; - } - return true; - })(); -})(jQuery); \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/jquery.cookie.js b/node_modules/ace/doc/template/resources/javascripts/jquery.cookie.js deleted file mode 100644 index 6df1faca..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/jquery.cookie.js +++ /dev/null @@ -1,96 +0,0 @@ -/** - * Cookie plugin - * - * Copyright (c) 2006 Klaus Hartl (stilbuero.de) - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - */ - -/** - * Create a cookie with the given name and value and other optional parameters. - * - * @example $.cookie('the_cookie', 'the_value'); - * @desc Set the value of a cookie. - * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); - * @desc Create a cookie with all available options. - * @example $.cookie('the_cookie', 'the_value'); - * @desc Create a session cookie. - * @example $.cookie('the_cookie', null); - * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain - * used when the cookie was set. - * - * @param String name The name of the cookie. - * @param String value The value of the cookie. - * @param Object options An object literal containing key/value pairs to provide optional cookie attributes. - * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. - * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. - * If set to null or omitted, the cookie will be a session cookie and will not be retained - * when the the browser exits. - * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). - * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). - * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will - * require a secure protocol (like HTTPS). - * @type undefined - * - * @name $.cookie - * @cat Plugins/Cookie - * @author Klaus Hartl/klaus.hartl@stilbuero.de - */ - -/** - * Get the value of a cookie with the given name. - * - * @example $.cookie('the_cookie'); - * @desc Get the value of a cookie. - * - * @param String name The name of the cookie. - * @return The value of the cookie. - * @type String - * - * @name $.cookie - * @cat Plugins/Cookie - * @author Klaus Hartl/klaus.hartl@stilbuero.de - */ -jQuery.cookie = function(name, value, options) { - if (typeof value != 'undefined') { // name and value given, set cookie - options = options || {}; - if (value === null) { - value = ''; - options.expires = -1; - } - var expires = ''; - if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { - var date; - if (typeof options.expires == 'number') { - date = new Date(); - date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); - } else { - date = options.expires; - } - expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE - } - // CAUTION: Needed to parenthesize options.path and options.domain - // in the following expressions, otherwise they evaluate to undefined - // in the packed version for some reason... - var path = options.path ? '; path=' + (options.path) : ''; - var domain = options.domain ? '; domain=' + (options.domain) : ''; - var secure = options.secure ? '; secure' : ''; - document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); - } else { // only name given, get cookie - var cookieValue = null; - if (document.cookie && document.cookie != '') { - var cookies = document.cookie.split(';'); - for (var i = 0; i < cookies.length; i++) { - var cookie = jQuery.trim(cookies[i]); - // Does this cookie string begin with the name we want? - if (cookie.substring(0, name.length + 1) == (name + '=')) { - cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); - break; - } - } - } - return cookieValue; - } -}; \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/plugins.js b/node_modules/ace/doc/template/resources/javascripts/plugins.js deleted file mode 100644 index efda459c..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/plugins.js +++ /dev/null @@ -1,13 +0,0 @@ -window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}}; -(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try -{console.log();return window.console;}catch(err){return window.console={};}})()); - -/* - * jQuery throttle / debounce - v1.1 - 3/7/2010 - * http://benalman.com/projects/jquery-throttle-debounce-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this); diff --git a/node_modules/ace/doc/template/resources/javascripts/prettify-extension.js b/node_modules/ace/doc/template/resources/javascripts/prettify-extension.js deleted file mode 100644 index ca8458dc..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/prettify-extension.js +++ /dev/null @@ -1,24 +0,0 @@ -// Stolen from StackOverflow. Find all -// elements on the page and add the "prettyprint" style. If at least one -// prettyprint element was found, call the Google Prettify prettyPrint() API. -//http://sstatic.net/so/js/master.js?v=6523 -function styleCode() -{ - if (typeof disableStyleCode != "undefined") - { - return; - } - - var a = false; - - $("pre code").parent().each(function() - { - if (!$(this).hasClass("prettyprint")) - { - $(this).addClass("prettyprint"); - a = true - } - }); - - if (a) { prettyPrint() } -} \ No newline at end of file diff --git a/node_modules/ace/doc/template/resources/javascripts/prettify.js b/node_modules/ace/doc/template/resources/javascripts/prettify.js deleted file mode 100644 index eef5ad7e..00000000 --- a/node_modules/ace/doc/template/resources/javascripts/prettify.js +++ /dev/null @@ -1,28 +0,0 @@ -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p =5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), -l=[],p={},d=0,g=e.length;d =0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g =0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]+/],["dec",/^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^ ]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^