Refreshes the editor content and binds it to the latest active ace session available NO PARAMS NEEDED
0.0.70-alpha(Array)
{id|secure_random,file_type}
undefined:
This function return nothing.
You need to pass an array of objects identifying the nodes that needs to be destroyed
Main.bindCommands enables ixcanul's basic keyboard commands
Creates a new file
(Object)
{
path: 'templates/test.liquid',
reference: 'test.liquid',
file_type: 'template',
content: 'code'
}
(function)
(function)
an optional callback if there's content to be added
type:
{description}
(type)
{description}
(type)
{description}
type:
{description}
Loads the Ace editor assets
loadJS(string) attaches a script tag to the body
(string)
the url to the dependency
Loads an ixcanul file from the database using the LoadFile backend API
(Object)
an object representing a node on the file tree or the required fields in the save api
(String)
the file type.
(String)
the path for the file which you need to load
(Function)
a callback function, runs after the file had finished loading.
(Boolean)
load files silently without changes to the UI.
Boolean:
Saves an ixcanul file to the database using the save backend API
(Object)
an object representing a node on the file tree or the required fields in the save api
(String)
title of the saved file.
(String)
the new content of the saved file.
(Boolean)
is this a rename for the file?.
(String)
the old filename for matching during a savefile.
(Object)
boolean:
{description}
Translates a delta line form from ACE undo stack into an input value
(type)
{description}
(type)
{description}
type:
{description}
(Object)
Boolean:
{description}
on input handler
(Session)
a session object
type:
{description}
Find the type of the operation on string.
(String)
{description}
type:
{description}
Notice: sometimes the undoStack might be empty, when this happens, return the redoStack instead.
initiate the collaborative action
(type)
{description}
type:
{description}
(number)
the timestamp of the delta received.
Boolean:
true
(number)
the timestamp of the delta sent.
Boolean:
true
Validate the content on the current file, flag any lines that are big for the presence event, and don't support them
Boolean:
{description}
A move function is basically, creating a new file that mimics the original file into the desired directory and deleting the old file so you have one record of the file
Boolean:
type:
{description}
type:
{description}
destroy the component
destroy the component
destroy the component
HyperHTML:
add tags to tephra snippet
(object)
form event
html:
returns the component template.
type:
{description}
type:
{description}
Builds and returns a visual diff view. The single parameter, `params', should contain the following values:
(any)
Adds two cells to the given row; if the given row corresponds to a real line number (based on the line index tidx and the endpoint of the range in question tend), then the cells will contain the line number and the line of text from textLines at position tidx (with the class of the second cell set to the name of the change represented), and tidx + 1 will be returned. Otherwise, tidx is returned, and two empty cells are added to the given row.
(any)
(any)
(any)
(any)
(any)
(Object)
type:
{description}
(type)
{description}
type:
{description}
(type)
{description}
type:
{description}
(type)
{description}
type:
{description}
type:
{description}
(type)
{description}
Refreshes the editor content and binds it to the latest active ace session available NO PARAMS NEEDED
A file reference generator, accepts tree nodes and API nodes.
(Object)
an object representing a node on the file tree or the required fields in the save api
(String)
the name of the file
(String)
the file_type, needs to be a valid file type
String:
the reference
Main.bindCommands enables ixcanul's basic keyboard commands
Attaches all needed commands to the ace editor
(type)
{description}
(type)
{description}
type:
{description}
removes the dz uploader
overwite files
Generate file path based on file tree node, accepts tree nodes
(Object)
an object representing a node on the file tree or the required fields in the save api
(String)
the filename
String:
{description}
(object)
or {String} as the path
string:
the file type
Update paths index.
(type)
{description}
type:
{description}
Disable the editor
Boolean:
Disable the editor
Boolean:
(String)
the url for the image
Promise:
an object that contains the width and the height of the image in pixels value
{
width: 200,
height: 200
}
String.decodeHtmlEntity decodes HTML entities to raw HTML text
(null)
this function doesn't require any params
String:
String.encodeHtmlEntity encodes raw HTML text to HTML entities
(null)
this function doesn't require any params
String:
$(DOM).toggleText toggles text on each call (extended from Jquery $.fn.)
String:
(type)
{description}
type:
{description}
sets the binders for the channels
undefined:
undefined:
Trigger an event on the fly from outside the constructor
(Object)
an object containing information about the event
Boolean:
{description}
(String)
a string contains the name of the client event
(Function)
a callback for the event
Boolean:
{description}
(string)
a string that defines the channel id
undefined:
undefined
(string)
a string that defines the channel id
undefined:
undefined
set the socket and binds the channels
(String)
the socket_id
undefined:
Object:
(type)
{description}
type:
{description}
type:
{description}
HTMLString:
template literal with LI elements as list items
returns a list of tephra snippets
html:
{description}
returns a list of tephra snippets
(Object)
html:
{description}
type:
{description}
cover the following: 1- comment blocks 2- tephra destruct 3- include tags data structure { ignored: Boolean tephra: Boolean snippet: Boolean raw: String }
(any)
type:
{description}
Finds a targetted node on the tree by providing a context for the required node
(object)
an object representing a node on the file tree or the required fields in the save api
object:
node a single node from the tree as a fancyTree object
undefined:
{description}
(type)
{description}
(type)
{description}
(type)
{description}
type:
{description}
(type)
{description}
(type)
{description}
(NodeObject)
{description}
(Object)
{description}
Find if a node or a path string represents a node in the tree
(Object/String)
an object that contains a path property or a string that represents the path
boolean:
Find a node in the tree with a tree node object
(Object)
a fancyTree node object
Object:
if not found the function will return null
type:
{description}
This function adds some flexibility to the iziTast data structure
(type)
{description}
Object:
the new settings object