├── .gitignore ├── README.md ├── Rakefile ├── bower.json ├── css └── jquery.xmleditor.css ├── demo ├── atom.html ├── cpf.html ├── examples │ ├── atom.json │ ├── atom │ │ ├── ATOM.xsd │ │ ├── CMIS-Core.xsd │ │ ├── CMIS-RestAtom.xsd │ │ └── xml.xsd │ ├── dcterms.js │ ├── dcterms │ │ ├── dc.xsd │ │ ├── dcmitype.xsd │ │ ├── dcterms.xsd │ │ └── xml.xsd │ ├── default_templates │ │ ├── audio.xml │ │ ├── image.xml │ │ ├── mods.xml │ │ └── video.xml │ ├── eac-cpf │ │ ├── cpf.xsd │ │ ├── mods-3-4.xsd │ │ ├── xlink.xsd │ │ └── xml.xsd │ ├── marc_relators.json │ ├── mods-3-4 │ │ ├── mods-3-4.xsd │ │ ├── xlink.xsd │ │ └── xml.xsd │ ├── mods.js │ ├── mods.json │ ├── spoonful_of_mods.xml │ └── test │ │ ├── dc.xsd │ │ ├── includer.xsd │ │ ├── no-target-ns.xsd │ │ └── xml.xsd ├── include-test.html ├── mods.html ├── no-target-ns.html ├── relator.html ├── stylesheets │ ├── demo.css │ └── reset.css ├── templates.html ├── xsd2json_example.html └── xsd2json_example2.html ├── index.html ├── jquery.xmleditor.js ├── lib ├── ace │ └── src-min │ │ ├── ace.js │ │ ├── keybinding-emacs.js │ │ ├── keybinding-vim.js │ │ ├── mode-xml.js │ │ └── theme-textmate.js ├── cycle.js ├── jquery-ui.min.js ├── jquery.autosize-min.js ├── jquery.min.js ├── json2.js └── lodash.core.min.js ├── package.json ├── src ├── abstract_xml_object.js ├── add_node_menu.js ├── attribute_menu.js ├── document_state.js ├── format_xml.js ├── gui_editor.js ├── jquery.xmleditor.js ├── menu_bar.js ├── modify_element_menu.js ├── modify_menu_panel.js ├── namespace_list.js ├── schema_tree.js ├── text_editor.js ├── undo_history.js ├── xml_attribute.js ├── xml_attribute_stub.js ├── xml_autocomplete.js ├── xml_cdata_node.js ├── xml_comment_node.js ├── xml_element.js ├── xml_element_stub.js ├── xml_templates.js ├── xml_text_node.js └── xml_unspecified_element.js ├── tests ├── index.html ├── issue-066-1 │ ├── schema.json │ └── schema.xsd ├── issue-066-2 │ ├── schema.json │ └── schema.xsd ├── issue-066-3 │ ├── schema.json │ └── schema.xsd ├── issue-067-1 │ ├── schema.json │ ├── schema.xsd │ └── schema_sub.xsd ├── issue-067-2 │ ├── schema.json │ ├── schema.xsd │ └── schema_sub.xsd ├── issue-067-3 │ ├── schema.json │ └── schema.xsd ├── issue-068-1 │ ├── schema.json │ └── schema.xsd ├── issue-068-2 │ ├── schema.json │ └── schema.xsd ├── issue-071-1 │ ├── schema.json │ ├── schema.xsd │ └── schema_bar.xsd ├── issue-071-2 │ ├── schema.json │ ├── schema.xsd │ └── schema_bar.xsd ├── issue-078-atom │ ├── CMIS-Core.xsd │ ├── CMIS-RestAtom.xsd │ ├── schema.json │ ├── schema.xsd │ └── xml.xsd ├── issue-078-dcterms │ ├── dc.xsd │ ├── dcmitype.xsd │ ├── schema.json │ ├── schema.xsd │ └── xml.xsd ├── issue-078-mods-3-4 │ ├── schema.json │ ├── schema.xsd │ ├── xlink.xsd │ └── xml.xsd ├── issue-080-1 │ ├── schema.json │ └── schema.xsd ├── issue-080-2 │ ├── schema.json │ └── schema.xsd ├── issue-080-3 │ ├── schema.json │ └── schema.xsd ├── issue-080-4 │ ├── include-no-ns.xsd │ ├── schema.json │ └── schema.xsd ├── issue-080-5 │ ├── schema.json │ └── schema.xsd ├── issue-080-include-test │ ├── dc.xsd │ ├── no-target-ns.xsd │ ├── schema-gen.json │ ├── schema.json │ ├── schema.xsd │ ├── schema2.json │ └── xml.xsd ├── issue-080-no-target-ns │ ├── dc.xsd │ ├── schema.json │ ├── schema.xsd │ └── xml.xsd ├── issue-082-1 │ ├── schema.json │ └── schema.xsd ├── issue-082-2 │ ├── schema.json │ └── schema.xsd ├── issue-084-1 │ ├── schema.json │ └── schema.xsd ├── issue-084-2 │ ├── schema.json │ └── schema.xsd ├── issue-084-cpf │ ├── schema.json │ ├── schema.xsd │ ├── xlink.xsd │ └── xml.xsd ├── tests.css ├── tests.js ├── tests.json └── update-tests └── xsd ├── README.md ├── build.html ├── build.js ├── lib ├── cycle.js ├── jquery.min.js └── vkbeautify.js ├── src ├── schema_manager.js ├── schema_processor.js └── xsd2json.js └── xsd2json.js /.gitignore: -------------------------------------------------------------------------------- 1 | .project 2 | .DS_Store 3 | .idea 4 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require "rubygems" 2 | require "sprockets" 3 | 4 | task :default => "jquery.xmleditor.js" 5 | 6 | task "jquery.xmleditor.js" => FileList.new("src/*") do 7 | environment = Sprockets::Environment.new 8 | environment.append_path "src" 9 | 10 | File.open("jquery.xmleditor.js", "w+") do |f| 11 | f << ";(function($){" + environment.find_asset("jquery.xmleditor.js").to_s + "})(jQuery);" 12 | end 13 | end 14 | 15 | task "xsd2json.js" => FileList.new("xsd/src/*") do 16 | environment = Sprockets::Environment.new 17 | environment.append_path "xsd/src" 18 | 19 | File.open("xsd/xsd2json.js", "w+") do |f| 20 | f << ";var Xsd2Json = function() {" + environment.find_asset("xsd2json.js").to_s + "; return Xsd2Json;}.call();" 21 | end 22 | end 23 | 24 | task "mods.js" do 25 | FileUtils.cd("xsd") 26 | system "phantomjs build.js ../mods.js" 27 | end 28 | 29 | task :clean do 30 | FileUtils.rm_f("jquery.xmleditor.js") 31 | end 32 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery.xmleditor", 3 | "main": "jquery.xmleditor.js", 4 | "version": "1.3.0", 5 | "homepage": "https://github.com/UNC-Libraries/jquery.xmleditor", 6 | "authors": [ 7 | "Ben Pennell (https://github.com/bbpennel)", 8 | "Mike Daines (https://github.com/mdaines)", 9 | "Dean Farrell ", 10 | "Volker Diels-Grabsch (https://github.com/m-click)" 11 | ], 12 | "description": "A web browser based XML editor. It provides a general use graphical tool for creating new or modifying existing XML documents in your web browser. Information is extracted from an XML schema (XSD file) to provide the user with information about what elements, subelements and attributes are available at different points in the structure, and a GUI based means of adding or removing them from the document.", 13 | "keywords": [ 14 | "xml", 15 | "editor", 16 | "mods", 17 | "mets" 18 | ], 19 | "license": "Apache 2.0", 20 | "ignore": [ 21 | "**/.*", 22 | "node_modules", 23 | "bower_components", 24 | "test", 25 | "tests" 26 | ] 27 | } -------------------------------------------------------------------------------- /demo/atom.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |

Atom example

19 | 57 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /demo/cpf.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 22 | 23 | 24 |

EAC-CPF Example with Language Autocomplete

25 |

Language suggestions in: control > languageDeclaration > language


26 |
27 | <eac-cpf xmlns="urn:isbn:1-931666-33-4"> 28 | <control> 29 | <languageDeclaration> 30 | <language /> 31 | </languageDeclaration> 32 | </control> 33 | </eac-cpf> 34 |
35 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /demo/examples/atom/xml.xsd: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | See http://www.w3.org/TR/xmlbase/ for 30 | information about this attribute. 31 | 32 | 33 | 34 | 35 | 36 | See http://www.w3.org/TR/xml-id/ for 37 | information about this attribute. 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /demo/examples/dcterms/dc.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | DCMES 1.1 XML Schema 11 | XML Schema for http://purl.org/dc/elements/1.1/ namespace 12 | 13 | Created 2008-02-11 14 | 15 | Created by 16 | 17 | Tim Cole (t-cole3@uiuc.edu) 18 | Tom Habing (thabing@uiuc.edu) 19 | Jane Hunter (jane@dstc.edu.au) 20 | Pete Johnston (p.johnston@ukoln.ac.uk), 21 | Carl Lagoze (lagoze@cs.cornell.edu) 22 | 23 | This schema declares XML elements for the 15 DC elements from the 24 | http://purl.org/dc/elements/1.1/ namespace. 25 | 26 | It defines a complexType SimpleLiteral which permits mixed content 27 | and makes the xml:lang attribute available. It disallows child elements by 28 | use of minOcccurs/maxOccurs. 29 | 30 | However, this complexType does permit the derivation of other complexTypes 31 | which would permit child elements. 32 | 33 | All elements are declared as substitutable for the abstract element any, 34 | which means that the default type for all elements is dc:SimpleLiteral. 35 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 44 | 45 | 46 | 47 | 48 | This is the default type for all of the DC elements. 49 | It permits text content only with optional 50 | xml:lang attribute. 51 | Text is allowed because mixed="true", but sub-elements 52 | are disallowed because minOccurs="0" and maxOccurs="0" 53 | are on the xs:any tag. 54 | 55 | This complexType allows for restriction or extension permitting 56 | child elements. 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | This group is included as a convenience for schema authors 92 | who need to refer to all the elements in the 93 | http://purl.org/dc/elements/1.1/ namespace. 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | This complexType is included as a convenience for schema authors who need to define a root 108 | or container element for all of the DC elements. 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /demo/examples/dcterms/dcmitype.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | DCMI Type Vocabulary XML Schema 11 | XML Schema for http://purl.org/dc/dcmitype/ namespace 12 | 13 | Created 2008-02-11 14 | 15 | Created by 16 | 17 | Tim Cole (t-cole3@uiuc.edu) 18 | Tom Habing (thabing@uiuc.edu) 19 | Jane Hunter (jane@dstc.edu.au) 20 | Pete Johnston (p.johnston@ukoln.ac.uk), 21 | Carl Lagoze (lagoze@cs.cornell.edu) 22 | 23 | This schema defines a simpleType which enumerates 24 | the allowable values for the DCMI Type Vocabulary. 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /demo/examples/dcterms/xml.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | See http://www.w3.org/XML/1998/namespace.html and 7 | http://www.w3.org/TR/REC-xml for information about this namespace. 8 | 9 | This schema document describes the XML namespace, in a form 10 | suitable for import by other schema documents. 11 | 12 | Note that local names in this namespace are intended to be defined 13 | only by the World Wide Web Consortium or its subgroups. The 14 | following names are currently defined in this namespace and should 15 | not be used with conflicting semantics by any Working Group, 16 | specification, or document instance: 17 | 18 | base (as an attribute name): denotes an attribute whose value 19 | provides a URI to be used as the base for interpreting any 20 | relative URIs in the scope of the element on which it 21 | appears; its value is inherited. This name is reserved 22 | by virtue of its definition in the XML Base specification. 23 | 24 | id (as an attribute name): denotes an attribute whose value 25 | should be interpreted as if declared to be of type ID. 26 | The xml:id specification is not yet a W3C Recommendation, 27 | but this attribute is included here to facilitate experimentation 28 | with the mechanisms it proposes. Note that it is _not_ included 29 | in the specialAttrs attribute group. 30 | 31 | lang (as an attribute name): denotes an attribute whose value 32 | is a language code for the natural language of the content of 33 | any element; its value is inherited. This name is reserved 34 | by virtue of its definition in the XML specification. 35 | 36 | space (as an attribute name): denotes an attribute whose 37 | value is a keyword indicating what whitespace processing 38 | discipline is intended for the content of the element; its 39 | value is inherited. This name is reserved by virtue of its 40 | definition in the XML specification. 41 | 42 | Father (in any context at all): denotes Jon Bosak, the chair of 43 | the original XML Working Group. This name is reserved by 44 | the following decision of the W3C XML Plenary and 45 | XML Coordination groups: 46 | 47 | In appreciation for his vision, leadership and dedication 48 | the W3C XML Plenary on this 10th day of February, 2000 49 | reserves for Jon Bosak in perpetuity the XML name 50 | xml:Father 51 | 52 | 53 | 54 | 55 | This schema defines attributes and an attribute group 56 | suitable for use by 57 | schemas wishing to allow xml:base, xml:lang, xml:space or xml:id 58 | attributes on elements they define. 59 | 60 | To enable this, such a schema must import this schema 61 | for the XML namespace, e.g. as follows: 62 | <schema . . .> 63 | . . . 64 | <import namespace="http://www.w3.org/XML/1998/namespace" 65 | schemaLocation="http://www.w3.org/2001/xml.xsd"/> 66 | 67 | Subsequently, qualified reference to any of the attributes 68 | or the group defined below will have the desired effect, e.g. 69 | 70 | <type . . .> 71 | . . . 72 | <attributeGroup ref="xml:specialAttrs"/> 73 | 74 | will define a type which will schema-validate an instance 75 | element with any of those attributes 76 | 77 | 78 | 79 | In keeping with the XML Schema WG's standard versioning 80 | policy, this schema document will persist at 81 | http://www.w3.org/2005/08/xml.xsd. 82 | At the date of issue it can also be found at 83 | http://www.w3.org/2001/xml.xsd. 84 | The schema document at that URI may however change in the future, 85 | in order to remain compatible with the latest version of XML Schema 86 | itself, or with the XML namespace itself. In other words, if the XML 87 | Schema or XML namespaces change, the version of this document at 88 | http://www.w3.org/2001/xml.xsd will change 89 | accordingly; the version at 90 | http://www.w3.org/2005/08/xml.xsd will not change. 91 | 92 | 93 | 94 | 95 | 96 | Attempting to install the relevant ISO 2- and 3-letter 97 | codes as the enumerated possible values is probably never 98 | going to be a realistic possibility. See 99 | RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry 100 | at http://www.iana.org/assignments/lang-tag-apps.htm for 101 | further information. 102 | 103 | The union allows for the 'un-declaration' of xml:lang with 104 | the empty string. 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | See http://www.w3.org/TR/xmlbase/ for 129 | information about this attribute. 130 | 131 | 132 | 133 | 134 | 135 | See http://www.w3.org/TR/xml-id/ for 136 | information about this attribute. 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /demo/examples/default_templates/audio.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Audio 4 | -------------------------------------------------------------------------------- /demo/examples/default_templates/image.xml: -------------------------------------------------------------------------------- 1 | 2 | image 3 | -------------------------------------------------------------------------------- /demo/examples/default_templates/mods.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/examples/default_templates/video.xml: -------------------------------------------------------------------------------- 1 | 3 | video 4 | -------------------------------------------------------------------------------- /demo/examples/eac-cpf/xlink.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /demo/examples/eac-cpf/xml.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | See http://www.w3.org/XML/1998/namespace.html and 7 | http://www.w3.org/TR/REC-xml for information about this namespace. 8 | 9 | This schema document describes the XML namespace, in a form 10 | suitable for import by other schema documents. 11 | 12 | Note that local names in this namespace are intended to be defined 13 | only by the World Wide Web Consortium or its subgroups. The 14 | following names are currently defined in this namespace and should 15 | not be used with conflicting semantics by any Working Group, 16 | specification, or document instance: 17 | 18 | base (as an attribute name): denotes an attribute whose value 19 | provides a URI to be used as the base for interpreting any 20 | relative URIs in the scope of the element on which it 21 | appears; its value is inherited. This name is reserved 22 | by virtue of its definition in the XML Base specification. 23 | 24 | id (as an attribute name): denotes an attribute whose value 25 | should be interpreted as if declared to be of type ID. 26 | The xml:id specification is not yet a W3C Recommendation, 27 | but this attribute is included here to facilitate experimentation 28 | with the mechanisms it proposes. Note that it is _not_ included 29 | in the specialAttrs attribute group. 30 | 31 | lang (as an attribute name): denotes an attribute whose value 32 | is a language code for the natural language of the content of 33 | any element; its value is inherited. This name is reserved 34 | by virtue of its definition in the XML specification. 35 | 36 | space (as an attribute name): denotes an attribute whose 37 | value is a keyword indicating what whitespace processing 38 | discipline is intended for the content of the element; its 39 | value is inherited. This name is reserved by virtue of its 40 | definition in the XML specification. 41 | 42 | Father (in any context at all): denotes Jon Bosak, the chair of 43 | the original XML Working Group. This name is reserved by 44 | the following decision of the W3C XML Plenary and 45 | XML Coordination groups: 46 | 47 | In appreciation for his vision, leadership and dedication 48 | the W3C XML Plenary on this 10th day of February, 2000 49 | reserves for Jon Bosak in perpetuity the XML name 50 | xml:Father 51 | 52 | 53 | 54 | 55 | This schema defines attributes and an attribute group 56 | suitable for use by 57 | schemas wishing to allow xml:base, xml:lang, xml:space or xml:id 58 | attributes on elements they define. 59 | 60 | To enable this, such a schema must import this schema 61 | for the XML namespace, e.g. as follows: 62 | <schema . . .> 63 | . . . 64 | <import namespace="http://www.w3.org/XML/1998/namespace" 65 | schemaLocation="http://www.w3.org/2001/xml.xsd"/> 66 | 67 | Subsequently, qualified reference to any of the attributes 68 | or the group defined below will have the desired effect, e.g. 69 | 70 | <type . . .> 71 | . . . 72 | <attributeGroup ref="xml:specialAttrs"/> 73 | 74 | will define a type which will schema-validate an instance 75 | element with any of those attributes 76 | 77 | 78 | 79 | In keeping with the XML Schema WG's standard versioning 80 | policy, this schema document will persist at 81 | http://www.w3.org/2005/08/xml.xsd. 82 | At the date of issue it can also be found at 83 | http://www.w3.org/2001/xml.xsd. 84 | The schema document at that URI may however change in the future, 85 | in order to remain compatible with the latest version of XML Schema 86 | itself, or with the XML namespace itself. In other words, if the XML 87 | Schema or XML namespaces change, the version of this document at 88 | http://www.w3.org/2001/xml.xsd will change 89 | accordingly; the version at 90 | http://www.w3.org/2005/08/xml.xsd will not change. 91 | 92 | 93 | 94 | 95 | 96 | Attempting to install the relevant ISO 2- and 3-letter 97 | codes as the enumerated possible values is probably never 98 | going to be a realistic possibility. See 99 | RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry 100 | at http://www.iana.org/assignments/lang-tag-apps.htm for 101 | further information. 102 | 103 | The union allows for the 'un-declaration' of xml:lang with 104 | the empty string. 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | See http://www.w3.org/TR/xmlbase/ for 129 | information about this attribute. 130 | 131 | 132 | 133 | 134 | 135 | See http://www.w3.org/TR/xml-id/ for 136 | information about this attribute. 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /demo/examples/marc_relators.json: -------------------------------------------------------------------------------- 1 | [ "Abridger", "Art copyist", "Actor", "Art director", "Adapter", "Author of afterword, colophon, etc.", "Analyst", "Animator", "Annotator", "Bibliographic antecedent", "Appellee", "Appellant", "Applicant", "Author in quotations or text abstracts", "Architect", "Artistic director", "Arranger", "Artist", "Assignee", "Associated name", "Autographer", "Attributed name", "Auctioneer", "Author of dialog", "Author of introduction, etc.", "Screenwriter", "Author", "Binding designer", "Bookjacket designer", "Book designer", "Book producer", "Blurb writer", "Binder", "Bookplate designer", "Broadcaster", "Braille embosser", "Bookseller", "Caster", "Conceptor", "Choreographer", "Client", "Calligrapher", "Colorist", "Collotyper", "Commentator", "Composer", "Compositor", "Conductor", "Cinematographer", "Censor", "Contestant-appellee", "Collector", "Compiler", "Conservator", "Collection registrar", "Contestant", "Contestant-appellant", "Court governed", "Cover designer", "Copyright claimant", "Complainant-appellee", "Copyright holder", "Complainant", "Complainant-appellant", "Creator", "Correspondent", "Corrector", "Court reporter", "Consultant", "Consultant to a project", "Costume designer", "Contributor", "Contestee-appellee", "Cartographer", "Contractor", "Contestee", "Contestee-appellant", "Curator", "Commentator for written text", "Distribution place", "Defendant", "Defendant-appellee", "Defendant-appellant", "Degree granting institution", "Degree supervisor", "Dissertant", "Delineator", "Dancer", "Donor", "Depicted", "Depositor", "Draftsman", "Director", "Designer", "Distributor", "Data contributor", "Dedicatee", "Data manager", "Dedicator", "Dubious author", "Editor of compilation", "Editor of moving image work", "Editor", "Engraver", "Electrician", "Electrotyper", "Engineer", "Enacting jurisdiction", "Etcher", "Event place", "Expert", "Facsimilist", "Film distributor", "Field director", "Film editor", "Film director", "Filmmaker", "Former owner", "Film producer", "Funder", "First party", "Forger", "Geographic information specialist", "Host institution", "Honoree", "Host", "Illustrator", "Illuminator", "Inscriber", "Inventor", "Issuing body", "Instrumentalist", "Interviewee", "Interviewer", "Judge", "Jurisdiction governed", "Laboratory", "Librettist", "Laboratory director", "Lead", "Libelee-appellee", "Libelee", "Lender", "Libelee-appellant", "Lighting designer", "Libelant-appellee", "Libelant", "Libelant-appellant", "Landscape architect", "Licensee", "Licensor", "Lithographer", "Lyricist", "Music copyist", "Metadata contact", "Medium", "Manufacture place", "Manufacturer", "Moderator", "Monitor", "Marbler", "Markup editor", "Musical director", "Metal-engraver", "Minute taker", "Musician", "Narrator", "Opponent", "Originator", "Organizer", "Onscreen presenter", "Other", "Owner", "Panelist", "Patron", "Publishing director", "Publisher", "Project director", "Proofreader", "Photographer", "Platemaker", "Permitting agency", "Production manager", "Printer of plates", "Papermaker", "Puppeteer", "Praeses", "Process contact", "Production personnel", "Presenter", "Performer", "Programmer", "Printmaker", "Production company", "Producer", "Production place", "Production designer", "Printer", "Provider", "Patent applicant", "Plaintiff-appellee", "Plaintiff", "Patent holder", "Plaintiff-appellant", "Publication place", "Rubricator", "Recordist", "Recording engineer", "Addressee", "Radio director", "Redaktor", "Renderer", "Researcher", "Reviewer", "Radio producer", "Repository", "Reporter", "Responsible party", "Respondent-appellee", "Restager", "Respondent", "Restorationist", "Respondent-appellant", "Research team head", "Research team member", "Scientific advisor", "Scenarist", "Sculptor", "Scribe", "Sound designer", "Secretary", "Stage director", "Signer", "Supporting host", "Seller", "Singer", "Speaker", "Sponsor", "Second party", "Surveyor", "Set designer", "Setting", "Storyteller", "Stage manager", "Standards body", "Stereotyper", "Technical director", "Teacher", "Thesis advisor", "Television director", "Television producer", "Transcriber", "Translator", "Type designer", "Typographer", "University place", "Voice actor", "Videographer", "Writer of added commentary", "Writer of added lyrics", "Writer of accompanying material", "Writer of added text", "Woodcutter", "Wood engraver", "Writer of introduction", "Witness", "Writer of preface", "Writer of supplementary textual content" ] -------------------------------------------------------------------------------- /demo/examples/mods-3-4/xlink.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /demo/examples/spoonful_of_mods.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | A Spoonful of Math Helps The Medicine Go Down: 5 | An Illustration of How Healthcare Can Benefit From Mathematical Modeling and Analysis 6 | 7 | Abstract 8 | 9 | 10 | 11 | Objectives 12 | 13 | A recent joint report from the Institute of Medicine and the National Academy of Engineering, highlights the benefits of--indeed, the need for--mathematical analysis of healthcare delivery. Tools for such analysis have been developed over decades by researchers in Operations Research (OR). An OR perspective typically frames a complex problem in terms of its essential mathematical structure. This article illustrates the use and value of the tools of operations research in healthcare. It reviews one OR tool, queueing theory, and provides an illustration involving a hypothetical drug treatment facility. 14 | 15 | 16 | 17 | Method 18 | 19 | Queueing Theory (QT) is the study of waiting lines. The theory is useful in that it provides solutions to problems of waiting and its relationship to key characteristics of healthcare systems. More generally, it illustrates the strengths of modeling in healthcare and service delivery. 20 | Queueing theory offers insights that initially may be hidden. For example, a queueing model allows one to incorporate randomness, which is inherent in the actual system, into the mathematical analysis. As a result of this randomness, these systems often perform much worse than one might have guessed based on deterministic conditions. Poor performance is reflected in longer lines, longer waits, and lower levels of server utilization. 21 | As an illustration, we specify a queueing model of a representative drug treatment facility. The analysis of this model provides mathematical expressions for some of the key performance measures, such as average waiting time for admission. 22 | 23 | 24 | 25 | Results 26 | 27 | We calculate average occupancy in the facility and its relationship to system characteristics. For example, when the facility has 28 beds, the average wait for admission is 4 days. We also explore the relationship between arrival rate at the facility, the capacity of the facility, and waiting times. 28 | 29 | 30 | 31 | Conclusions 32 | 33 | One key aspect of the healthcare system is its complexity, and policy makers want to design and reform the system in a way that affects competing goals. OR methodologies, particularly queueing theory, can be very useful in gaining deeper understanding of this complexity and exploring the potential effects of proposed changes on the system without making any actual changes. 34 | 35 | eng 36 | 37 | text 38 | Journal Article 39 | 40 | BioMed Central Ltd 41 | 2010-06-23 42 | 43 | Peer Reviewed 44 | 45 | 46 | 47 | E Michael Foster et al.; licensee BioMed Central Ltd. 48 | 49 | 50 | 51 | 52 | Open Access 53 | BMC Medical Research Methodology. 2010 Jun 23;10(1):60 54 | 55 | http://dx.doi.org/10.1186/1471-2288-10-60 56 | 57 | 10.1186/1471-2288-10-60 58 | 20573235 59 | 60 | Foster, E Michael 61 | Department of Maternal and Child Health, UNC Gillings School of Global Public Health, University of North Carolina at Chapel Hill 62 | 63 | 64 | Hosking, Michael R 65 | Department of Statistics and Operations Research, UNC College of Arts & Sciences, University of North Carolina at Chapel Hill 66 | 67 | 68 | Ziya, Serhan 69 | Department of Statistics and Operations Research, UNC College of Arts & Sciences, University of North Carolina at Chapel Hill 70 | 71 | 72 | 73 | BMC Medical Research Methodology 74 | 75 | 1471-2288 76 | 77 | 2010 78 | 79 | 80 | 81 | 10 82 | vol. 83 | 84 | 85 | 1 86 | issue 87 | 88 | 89 | 90 | 91 | 60 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /demo/examples/test/dc.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | DCMES 1.1 XML Schema 11 | XML Schema for http://purl.org/dc/elements/1.1/ namespace 12 | 13 | Created 2008-02-11 14 | 15 | Created by 16 | 17 | Tim Cole (t-cole3@uiuc.edu) 18 | Tom Habing (thabing@uiuc.edu) 19 | Jane Hunter (jane@dstc.edu.au) 20 | Pete Johnston (p.johnston@ukoln.ac.uk), 21 | Carl Lagoze (lagoze@cs.cornell.edu) 22 | 23 | This schema declares XML elements for the 15 DC elements from the 24 | http://purl.org/dc/elements/1.1/ namespace. 25 | 26 | It defines a complexType SimpleLiteral which permits mixed content 27 | and makes the xml:lang attribute available. It disallows child elements by 28 | use of minOcccurs/maxOccurs. 29 | 30 | However, this complexType does permit the derivation of other complexTypes 31 | which would permit child elements. 32 | 33 | All elements are declared as substitutable for the abstract element any, 34 | which means that the default type for all elements is dc:SimpleLiteral. 35 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 44 | 45 | 46 | 47 | 48 | This is the default type for all of the DC elements. 49 | It permits text content only with optional 50 | xml:lang attribute. 51 | Text is allowed because mixed="true", but sub-elements 52 | are disallowed because minOccurs="0" and maxOccurs="0" 53 | are on the xs:any tag. 54 | 55 | This complexType allows for restriction or extension permitting 56 | child elements. 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | This group is included as a convenience for schema authors 92 | who need to refer to all the elements in the 93 | http://purl.org/dc/elements/1.1/ namespace. 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | This complexType is included as a convenience for schema authors who need to define a root 108 | or container element for all of the DC elements. 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /demo/examples/test/includer.xsd: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /demo/examples/test/no-target-ns.xsd: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /demo/include-test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |

jQuery.xmleditor no target namespace Demo

21 | View 22 | the Project on GitHub UNC-Libraries/jquery.xmleditor 23 | 24 |
25 |
26 |
27 | 28 |
29 | 38 |
39 |

40 | This project is maintained by UNC-Libraries 42 |

43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /demo/mods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor MODS Document Editing Demo 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |

jQuery.xmleditor Spoonful of Math MODS Editing Demo

21 | View 22 | the Project on GitHub UNC-Libraries/jquery.xmleditor 23 | 24 |
25 |
26 |
27 |
28 | 40 |
41 |

42 | This project is maintained by UNC-Libraries 44 |

45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /demo/no-target-ns.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |

jQuery.xmleditor no target namespace Demo

21 | View 22 | the Project on GitHub UNC-Libraries/jquery.xmleditor 23 | 24 |
25 |
26 |
27 | 28 |
29 | 38 |
39 |

40 | This project is maintained by UNC-Libraries 42 |

43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /demo/relator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 22 | 23 | 24 | 25 |
26 | <mods xmlns="http://www.loc.gov/mods/v3"> 27 | <name> 28 | <role> 29 | <roleTerm /> 30 | </role> 31 | </name> 32 | </mods> 33 |
34 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /demo/stylesheets/demo.css: -------------------------------------------------------------------------------- 1 | header { 2 | margin-bottom: 15px; 3 | } 4 | 5 | header h1, header h2, header h3, header h4, header h5, header h6 { 6 | color:#222; 7 | margin:0 0 20px; 8 | } 9 | 10 | header p, header ul, header ol, header table, header pre, header dl { 11 | margin:0 0 20px; 12 | } 13 | 14 | header h1, header h2, header h3 { 15 | line-height:1.1; 16 | } 17 | 18 | header h1 { 19 | font-size:28px; 20 | } 21 | 22 | header h2 { 23 | color:#393939; 24 | } 25 | 26 | header h3, header h4, header h5, header h6 { 27 | color:#494949; 28 | } 29 | 30 | header ul li + li { 31 | width:88px; 32 | border-left:1px solid #fff; 33 | } 34 | 35 | header ul li + li + li { 36 | border-right:none; 37 | width:89px; 38 | } 39 | 40 | header ul a strong { 41 | font-size:14px; 42 | display:block; 43 | color:#222; 44 | } 45 | header ul { 46 | list-style:none; 47 | height:40px; 48 | 49 | padding:0; 50 | 51 | background: #eee; 52 | background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%); 53 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd)); 54 | background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%); 55 | background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%); 56 | background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%); 57 | background: linear-gradient(top, #f8f8f8 0%,#dddddd 100%); 58 | 59 | border-radius:5px; 60 | border:1px solid #d2d2d2; 61 | box-shadow:inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0; 62 | width:270px; 63 | } 64 | 65 | header li { 66 | width:89px; 67 | float:left; 68 | border-right:1px solid #d2d2d2; 69 | height:40px; 70 | } 71 | 72 | header ul a { 73 | line-height:1; 74 | font-size:11px; 75 | color:#999; 76 | display:block; 77 | text-align:center; 78 | padding-top:6px; 79 | height:40px; 80 | text-decoration: none; 81 | } 82 | 83 | header .view a { 84 | color: #39C; 85 | text-decoration: none; 86 | font-weight: 400px; 87 | } 88 | 89 | body { 90 | padding: 20px; 91 | color: #777195; 92 | } 93 | 94 | #xml_editor { 95 | font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; 96 | font-size: 14px; 97 | background-color: #fff; 98 | } -------------------------------------------------------------------------------- /demo/stylesheets/reset.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2008 The University of North Carolina at Chapel Hill 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /* Eric Meyer's Reset Reloaded 17 | Accessed 3/1/10 18 | http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ 19 | */ 20 | 21 | html, body, div, span, applet, object, iframe, 22 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 23 | a, abbr, acronym, address, big, cite, code, 24 | del, dfn, em, font, img, ins, kbd, q, s, samp, 25 | small, strike, strong, sub, sup, tt, var, 26 | dl, dt, dd, ol, ul, li, 27 | fieldset, form, label, legend, 28 | table, caption, tbody, tfoot, thead, tr, th, td { 29 | margin: 0; 30 | padding: 0; 31 | border: 0; 32 | outline: 0; 33 | font-weight: inherit; 34 | font-style: inherit; 35 | font-size: 100%; 36 | font-family: inherit; 37 | vertical-align: baseline; 38 | } 39 | /* remember to define focus styles! */ 40 | :focus { 41 | outline: 0; 42 | } 43 | body { 44 | line-height: 1; 45 | color: black; 46 | background: white; 47 | } 48 | ol, ul { 49 | list-style: none; 50 | } 51 | /* tables still need 'cellspacing="0"' in the markup */ 52 | table { 53 | border-collapse: separate; 54 | border-spacing: 0; 55 | } 56 | caption, th, td { 57 | text-align: left; 58 | font-weight: normal; 59 | } 60 | blockquote:before, blockquote:after, 61 | q:before, q:after { 62 | content: ""; 63 | } 64 | blockquote, q { 65 | quotes: "" ""; 66 | } -------------------------------------------------------------------------------- /demo/templates.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 26 | 27 | 28 | 29 |
30 |
31 |

jQuery.xmleditor MODS Editing Demo

32 | View 33 | the Project on GitHub UNC-Libraries/jquery.xmleditor 34 | 35 |
36 |
37 |
38 |
39 | 58 |
59 |

60 | This project is maintained by UNC-Libraries 62 |

63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /demo/xsd2json_example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |

jQuery.xmleditor Embedded XSD Demo

21 | View 22 | the Project on GitHub UNC-Libraries/jquery.xmleditor 23 | 24 |
25 |
26 |
27 | 28 |
29 | 38 |
39 |

40 | This project is maintained by UNC-Libraries 42 |

43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /demo/xsd2json_example2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |

jQuery.xmleditor Embedded XSD Demo

21 | View 22 | the Project on GitHub UNC-Libraries/jquery.xmleditor 23 | 24 |
25 |
26 |
27 | 28 |
29 | 38 |
39 |

40 | This project is maintained by UNC-Libraries 42 |

43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery.xmleditor 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |

jQuery.xmleditor MODS Editing Demo

21 | View 22 | the Project on GitHub UNC-Libraries/jquery.xmleditor 23 | 24 |
25 |
26 |
27 | 28 |
29 | 36 |
37 |

38 | This project is maintained by UNC-Libraries 40 |

41 |
42 | 43 | -------------------------------------------------------------------------------- /lib/ace/src-min/keybinding-emacs.js: -------------------------------------------------------------------------------- 1 | define("ace/keyboard/emacs",["require","exports","module","ace/lib/dom","ace/keyboard/hash_handler","ace/lib/keys"],function(a,b,c){var d=a("../lib/dom"),e=function(a,b){var c=this.scroller.getBoundingClientRect(),e=Math.floor((a+this.scrollLeft-c.left-this.$padding-d.getPageScrollLeft())/this.characterWidth),f=Math.floor((b+this.scrollTop-c.top-d.getPageScrollTop())/this.lineHeight);return this.session.screenToDocumentPosition(f,e)},f=a("./hash_handler").HashHandler;b.handler=new f;var g=!1;b.handler.attach=function(a){g||(g=!0,d.importCssString(" .emacs-mode .ace_cursor{ border: 2px rgba(50,250,50,0.8) solid!important; -moz-box-sizing: border-box!important; box-sizing: border-box!important; background-color: rgba(0,250,0,0.9); opacity: 0.5; } .emacs-mode .ace_cursor.ace_hidden{ opacity: 1; background-color: transparent; } .emacs-mode .ace_cursor.ace_overwrite { opacity: 1; background-color: transparent; border-width: 0 0 2px 2px !important; } .emacs-mode .ace_text-layer { z-index: 4 } .emacs-mode .ace_cursor-layer { z-index: 2 }","emacsMode")),a.renderer.screenToTextCoordinates=e,a.setStyle("emacs-mode")},b.handler.detach=function(a){delete a.renderer.screenToTextCoordinates,a.unsetStyle("emacs-mode")};var h=a("../lib/keys").KEY_MODS,i={C:"ctrl",S:"shift",M:"alt"};["S-C-M","S-C","S-M","C-M","S","C","M"].forEach(function(a){var b=0;a.split("-").forEach(function(a){b|=h[i[a]]}),i[b]=a.toLowerCase()+"-"}),b.handler.bindKey=function(a,b){if(!a)return;var c=this.commmandKeyBinding;a.split("|").forEach(function(a){a=a.toLowerCase(),c[a]=b,a=a.split(" ")[0],c[a]||(c[a]="null")},this)},b.handler.handleKeyboard=function(a,b,c,d){if(b==-1&&a.count){var e=Array(a.count+1).join(c);return a.count=null,{command:"insertstring",args:e}}if(c=="\0")return;var f=i[b];if(f=="c-"||a.universalArgument){var g=parseInt(c[c.length-1]);if(g)return a.count=g,{command:"null"}}a.universalArgument=!1,f&&(c=f+c),a.keyChain&&(c=a.keyChain+=" "+c);var h=this.commmandKeyBinding[c];a.keyChain=h=="null"?c:"";if(!h)return;if(h=="null")return{command:"null"};if(h=="universalArgument")return a.universalArgument=!0,{command:"null"};if(typeof h!="string"){var j=h.args;h=h.command}typeof h=="string"&&(h=this.commands[h]||a.editor.commands.commands[h]),!h.readonly&&!h.isYank&&(a.lastCommand=null);if(a.count){var g=a.count;return a.count=0,{args:j,command:{exec:function(a,b){for(var c=0;c30&&this.$data.shift()},get:function(){return this.$data[this.$data.length-1]||""},pop:function(){return this.$data.length>1&&this.$data.pop(),this.get()},rotate:function(){return this.$data.unshift(this.$data.pop()),this.get()}}}) -------------------------------------------------------------------------------- /lib/ace/src-min/theme-textmate.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(a,b,c){b.isDark=!1,b.cssClass="ace-tm",b.cssText=".ace-tm .ace_editor { border: 2px solid rgb(159, 159, 159);}.ace-tm .ace_editor.ace_focus { border: 2px solid #327fbd;}.ace-tm .ace_gutter { background: #e8e8e8; color: #333;}.ace-tm .ace_print_margin { width: 1px; background: #e8e8e8;}.ace-tm .ace_fold { background-color: #6B72E6;}.ace-tm .ace_text-layer { cursor: text;}.ace-tm .ace_cursor { border-left: 2px solid black;}.ace-tm .ace_cursor.ace_overwrite { border-left: 0px; border-bottom: 1px solid black;} .ace-tm .ace_line .ace_invisible { color: rgb(191, 191, 191);}.ace-tm .ace_line .ace_storage,.ace-tm .ace_line .ace_keyword { color: blue;}.ace-tm .ace_line .ace_constant { color: rgb(197, 6, 11);}.ace-tm .ace_line .ace_constant.ace_buildin { color: rgb(88, 72, 246);}.ace-tm .ace_line .ace_constant.ace_language { color: rgb(88, 92, 246);}.ace-tm .ace_line .ace_constant.ace_library { color: rgb(6, 150, 14);}.ace-tm .ace_line .ace_invalid { background-color: rgba(255, 0, 0, 0.1); color: red;}.ace-tm .ace_line .ace_support.ace_function { color: rgb(60, 76, 114);}.ace-tm .ace_line .ace_support.ace_constant { color: rgb(6, 150, 14);}.ace-tm .ace_line .ace_support.ace_type,.ace-tm .ace_line .ace_support.ace_class { color: rgb(109, 121, 222);}.ace-tm .ace_line .ace_keyword.ace_operator { color: rgb(104, 118, 135);}.ace-tm .ace_line .ace_string { color: rgb(3, 106, 7);}.ace-tm .ace_line .ace_comment { color: rgb(76, 136, 107);}.ace-tm .ace_line .ace_comment.ace_doc { color: rgb(0, 102, 255);}.ace-tm .ace_line .ace_comment.ace_doc.ace_tag { color: rgb(128, 159, 191);}.ace-tm .ace_line .ace_constant.ace_numeric { color: rgb(0, 0, 205);}.ace-tm .ace_line .ace_variable { color: rgb(49, 132, 149);}.ace-tm .ace_line .ace_xml_pe { color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function { color: #0000A2;}.ace-tm .ace_markup.ace_markupine { text-decoration:underline;}.ace-tm .ace_markup.ace_heading { color: rgb(12, 7, 255);}.ace-tm .ace_markup.ace_list { color:rgb(185, 6, 144);}.ace-tm .ace_marker-layer .ace_selection { background: rgb(181, 213, 255);}.ace-tm.multiselect .ace_selection.start { box-shadow: 0 0 3px 0px white; border-radius: 2px;}.ace-tm .ace_marker-layer .ace_step { background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack { background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active_line { background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter_active_line{ background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected_word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_meta.ace_tag { color:rgb(0, 50, 198);}.ace-tm .ace_string.ace_regex { color: rgb(255, 0, 0)}";var d=a("../lib/dom");d.importCssString(b.cssText,b.cssClass)}) -------------------------------------------------------------------------------- /lib/jquery.autosize-min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | jQuery Autosize v1.16.20 3 | (c) 2013 Jack Moore - jacklmoore.com 4 | updated: 2013-06-18 5 | license: http://www.opensource.org/licenses/mit-license.php 6 | */ 7 | (function(e){var t,o={className:"autosizejs",append:"",callback:!1,resizeDelay:10},i='