diff options
author | bors-servo <release+servo@mozilla.com> | 2014-02-09 22:07:36 -0500 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-02-09 22:07:36 -0500 |
commit | f26cdcf235c6c323eaa15ac45c76ccadb837bef4 (patch) | |
tree | 47d81d331ef391b7610a3faf746bd9c6b0a90a25 /src/components/script/script.rs | |
parent | ccfd595d6ebd0dcd7a81d1ef9fa05801cd955f8a (diff) | |
parent | a0a28025352162e5fa30b0485fd2f08c17af936d (diff) | |
download | servo-f26cdcf235c6c323eaa15ac45c76ccadb837bef4.tar.gz servo-f26cdcf235c6c323eaa15ac45c76ccadb837bef4.zip |
auto merge of #1617 : xiongmao86/servo/issue1612, r=larsbergstrom
Rename *.rc to *.rs in components directory, and do some relevant changes in Makefile.in
Diffstat (limited to 'src/components/script/script.rs')
-rw-r--r-- | src/components/script/script.rs | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/src/components/script/script.rs b/src/components/script/script.rs new file mode 100644 index 00000000000..42475df420e --- /dev/null +++ b/src/components/script/script.rs @@ -0,0 +1,157 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#[crate_id = "github.com/mozilla/servo#script:0.1"]; +#[crate_type = "lib"]; + +#[comment = "The Servo Parallel Browser Project"]; +#[license = "MPL"]; + +#[feature(globs, macro_rules, struct_variant, managed_boxes)]; + +extern mod geom; +extern mod hubbub; +extern mod encoding; +extern mod js; +extern mod servo_net = "net"; +extern mod servo_util = "util"; +extern mod style; +extern mod servo_msg = "msg"; +extern mod extra; +extern mod native; + +// Macros +mod macros; + +pub mod dom { + pub mod bindings { + pub mod element; + pub mod node; + pub mod utils; + pub mod callback; + pub mod conversions; + pub mod proxyhandler; + pub mod codegen { + pub use self::BindingDeclarations::*; + pub mod InterfaceTypes; + pub mod PrototypeList; + pub mod RegisterBindings; + pub mod BindingDeclarations; + } + } + + pub mod types { + pub use super::bindings::codegen::InterfaceTypes::*; + } + + pub mod attr; + pub mod attrlist; + pub mod blob; + pub mod characterdata; + pub mod clientrect; + pub mod clientrectlist; + pub mod comment; + pub mod document; + pub mod documentfragment; + pub mod documenttype; + pub mod domexception; + pub mod domimplementation; + pub mod domparser; + pub mod element; + pub mod event; + pub mod eventdispatcher; + pub mod eventtarget; + pub mod formdata; + pub mod htmlanchorelement; + pub mod htmlappletelement; + pub mod htmlareaelement; + pub mod htmlaudioelement; + pub mod htmlbaseelement; + pub mod htmlbodyelement; + pub mod htmlbrelement; + pub mod htmlbuttonelement; + pub mod htmlcanvaselement; + pub mod htmlcollection; + pub mod htmldataelement; + pub mod htmldatalistelement; + pub mod htmldirectoryelement; + pub mod htmldivelement; + pub mod htmldlistelement; + pub mod htmldocument; + pub mod htmlelement; + pub mod htmlembedelement; + pub mod htmlfieldsetelement; + pub mod htmlfontelement; + pub mod htmlformelement; + pub mod htmlframeelement; + pub mod htmlframesetelement; + pub mod htmlheadelement; + pub mod htmlheadingelement; + pub mod htmlhrelement; + pub mod htmlhtmlelement; + pub mod htmliframeelement; + pub mod htmlimageelement; + pub mod htmlinputelement; + pub mod htmllabelelement; + pub mod htmllegendelement; + pub mod htmllielement; + pub mod htmllinkelement; + pub mod htmlmainelement; + pub mod htmlmapelement; + pub mod htmlmediaelement; + pub mod htmlmetaelement; + pub mod htmlmeterelement; + pub mod htmlmodelement; + pub mod htmlobjectelement; + pub mod htmlolistelement; + pub mod htmloptgroupelement; + pub mod htmloptionelement; + pub mod htmloutputelement; + pub mod htmlparagraphelement; + pub mod htmlparamelement; + pub mod htmlpreelement; + pub mod htmlprogresselement; + pub mod htmlquoteelement; + pub mod htmlscriptelement; + pub mod htmlselectelement; + pub mod htmlserializer; + pub mod htmlspanelement; + pub mod htmlsourceelement; + pub mod htmlstyleelement; + pub mod htmltableelement; + pub mod htmltablecaptionelement; + pub mod htmltablecellelement; + pub mod htmltabledatacellelement; + pub mod htmltableheadercellelement; + pub mod htmltablecolelement; + pub mod htmltablerowelement; + pub mod htmltablesectionelement; + pub mod htmltemplateelement; + pub mod htmltextareaelement; + pub mod htmltimeelement; + pub mod htmltitleelement; + pub mod htmltrackelement; + pub mod htmlulistelement; + pub mod htmlvideoelement; + pub mod htmlunknownelement; + pub mod location; + pub mod mouseevent; + pub mod navigator; + pub mod node; + pub mod nodelist; + pub mod processinginstruction; + pub mod uievent; + pub mod text; + pub mod validitystate; + pub mod window; + pub mod windowproxy; +} + +pub mod html { + pub mod cssparse; + pub mod hubbub_html_parser; +} + +pub mod layout_interface; +pub mod script_task; |