Changeset 34598 in webkit for trunk/JavaScriptCore/API/JSNode.c


Ignore:
Timestamp:
Jun 16, 2008, 6:39:59 AM (17 years ago)
Author:
[email protected]
Message:

(JavaScriptCore) minidom uses C++ style comments

https://bugs.webkit.org/show_bug.cgi?id=19557

Use only C style comments in minidom sources

Reviewed by Sam.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSNode.c

    r29991 r34598  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
     1/* -*- mode: c; c-basic-offset: 4 -*- */
    22/*
    33 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
     
    3939    UNUSED_PARAM(function);
    4040
    41     // Example of throwing a type error for invalid values
     41    /* Example of throwing a type error for invalid values */
    4242    if (!JSValueIsObjectOfClass(context, thisObject, JSNode_class(context))) {
    4343        JSStringRef message = JSStringCreateWithUTF8CString("TypeError: appendChild can only be called on nodes");
     
    6161{
    6262    UNUSED_PARAM(function);
    63    
    64     // Example of ignoring invalid values
     63
     64    /* Example of ignoring invalid values */
    6565    if (argumentCount > 0) {
    6666        if (JSValueIsObjectOfClass(context, thisObject, JSNode_class(context))) {
Note: See TracChangeset for help on using the changeset viewer.