Remove extra spaces

Command: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/}\\n\\n\\n/}\\n\\n/"`
This commit is contained in:
Manish Goregaokar 2014-12-01 10:50:17 -05:00
parent 552db382d6
commit 7d65673561
23 changed files with 0 additions and 23 deletions

View file

@ -85,7 +85,6 @@ pub struct Attr {
owner: Option<JS<Element>>,
}
impl Attr {
fn new_inherited(local_name: Atom, value: AttrValue,
name: Atom, namespace: Namespace,

View file

@ -64,7 +64,6 @@ impl<'a> CanvasRenderingContext2DMethods for JSRef<'a, CanvasRenderingContext2D>
}
}
#[unsafe_destructor]
impl Drop for CanvasRenderingContext2D {
fn drop(&mut self) {

View file

@ -222,4 +222,3 @@ pub fn create_element(name: QualName, prefix: Option<DOMString>,
}
}

View file

@ -182,7 +182,6 @@ impl<'a> PrivateDedicatedWorkerGlobalScopeHelpers for JSRef<'a, DedicatedWorkerG
}
}
impl DedicatedWorkerGlobalScopeDerived for EventTarget {
fn is_dedicatedworkerglobalscope(&self) -> bool {
match *self.type_id() {

View file

@ -472,7 +472,6 @@ impl Document {
}
}
trait PrivateDocumentHelpers {
fn createNodeList(self, callback: |node: JSRef<Node>| -> bool) -> Temporary<NodeList>;
fn get_html_element(self) -> Option<Temporary<HTMLHtmlElement>>;

View file

@ -83,7 +83,6 @@ impl DOMException {
}
}
impl<'a> DOMExceptionMethods for JSRef<'a, DOMException> {
// http://dom.spec.whatwg.org/#dom-domexception-code
fn Code(self) -> u16 {

View file

@ -47,7 +47,6 @@ impl DOMImplementation {
}
}
// http://dom.spec.whatwg.org/#domimplementation
impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> {
// http://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype

View file

@ -40,7 +40,6 @@ impl DOMTokenList {
}
}
trait PrivateDOMTokenListHelpers {
fn attribute(self) -> Option<Temporary<Attr>>;
fn check_token_exceptions<'a>(self, token: &'a str) -> Fallible<&'a str>;

View file

@ -85,7 +85,6 @@ impl ElementDerived for EventTarget {
}
}
#[deriving(PartialEq, Show)]
#[jstraceable]
pub enum ElementTypeId {

View file

@ -301,7 +301,6 @@ impl<'a> EventTargetMethods for JSRef<'a, EventTarget> {
}
}
impl<'a> VirtualMethods for JSRef<'a, EventTarget> {
fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods> {
None

View file

@ -107,7 +107,6 @@ impl<'a> FormDataMethods for JSRef<'a, FormData> {
}
}
trait PrivateFormDataHelpers{
fn get_file_from_blob(&self, value: JSRef<Blob>, filename: Option<DOMString>) -> Temporary<File>;
}

View file

@ -98,7 +98,6 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLAnchorElement> {
}
}
impl<'a> HTMLAnchorElementMethods for JSRef<'a, HTMLAnchorElement> {
fn Text(self) -> DOMString {
let node: JSRef<Node> = NodeCast::from_ref(self);

View file

@ -389,7 +389,6 @@ impl<'a> HTMLFormElementHelpers for JSRef<'a, HTMLFormElement> {
}
}
// TODO: add file support
pub struct FormDatum {
pub ty: DOMString,

View file

@ -570,7 +570,6 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLInputElement> {
}
}
impl<'a> FormControl<'a> for JSRef<'a, HTMLInputElement> {
fn to_element(self) -> JSRef<'a, Element> {
ElementCast::from_ref(self)

View file

@ -137,7 +137,6 @@ impl<'a> PrivateHTMLLinkElementHelpers for JSRef<'a, HTMLLinkElement> {
}
}
impl<'a> HTMLLinkElementMethods for JSRef<'a, HTMLLinkElement> {
make_url_getter!(Href)
make_setter!(SetHref, "href")

View file

@ -57,7 +57,6 @@ impl HTMLTableElement {
}
}
impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
// http://www.whatwg.org/html/#dom-table-caption
fn GetCaption(self) -> Option<Temporary<HTMLTableCaptionElement>> {

View file

@ -482,7 +482,6 @@ pub trait NodeHelpers<'a> {
fn summarize(self) -> NodeInfo;
}
impl<'a> NodeHelpers<'a> for JSRef<'a, Node> {
/// Dumps the subtree rooted at this node, for debugging.
fn dump(self) {

View file

@ -119,7 +119,6 @@ impl<'a> TreeWalkerMethods for JSRef<'a, TreeWalker> {
}
}
type NodeAdvancer<'a> = |node: JSRef<'a, Node>|: 'a -> Option<Temporary<Node>>;
trait PrivateTreeWalkerHelpers<'a> {

View file

@ -93,7 +93,6 @@ impl<'a> URLSearchParamsMethods for JSRef<'a, URLSearchParams> {
}
}
pub trait URLSearchParamsHelpers {
fn serialize(&self, encoding: Option<EncodingRef>) -> Vec<u8>;
fn update_steps(&self);

View file

@ -36,7 +36,6 @@ impl WebSocket {
}
}
impl<'a> WebSocketMethods for JSRef<'a, WebSocket> {
fn Url(self) -> DOMString {
self.url.clone()

View file

@ -182,7 +182,6 @@ pub fn base64_atob(atob: DOMString) -> Fallible<DOMString> {
}
}
impl<'a> WindowMethods for JSRef<'a, Window> {
fn Alert(self, s: DOMString) {
// Right now, just print to the console

View file

@ -240,7 +240,6 @@ impl XMLHttpRequest {
}
}
macro_rules! notify_error_and_return(
($err:expr) => ({
notify_partial_progress(fetch_type, XHRProgress::Errored(gen_id, $err));

View file

@ -43,7 +43,6 @@ impl XMLHttpRequestEventTargetDerived for EventTarget {
}
impl<'a> XMLHttpRequestEventTargetMethods for JSRef<'a, XMLHttpRequestEventTarget> {
event_handler!(loadstart,GetOnloadstart, SetOnloadstart)
event_handler!(progress, GetOnprogress, SetOnprogress)