diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 19:56:24 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 19:56:24 +0000 |
commit | ccf02ac9bd67d4d49ad8264ae7fc6098e361ff4b (patch) | |
tree | fc6e4a0552431c7297798fad46f57fb76c35a3b3 /o3d/documentation | |
parent | dfe9d1d2de7fd8d244599b79a22898cce8df7c81 (diff) | |
download | chromium_src-ccf02ac9bd67d4d49ad8264ae7fc6098e361ff4b.zip chromium_src-ccf02ac9bd67d4d49ad8264ae7fc6098e361ff4b.tar.gz chromium_src-ccf02ac9bd67d4d49ad8264ae7fc6098e361ff4b.tar.bz2 |
Made all line endings consistently LF and added svn:eol-style=LF property to files with these names / extensions.
c
cc
h
mm
txt
idl
py
js
html
css
gyp
gypi
xml
shader
json
htm
README
DEPS
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation')
-rwxr-xr-x | o3d/documentation/externs/o3d-extra-externs.js | 96 | ||||
-rw-r--r-- | o3d/documentation/get_docs_files.py | 104 | ||||
-rw-r--r-- | o3d/documentation/jsdoc-toolkit-templates/static/prettify.css | 68 |
3 files changed, 134 insertions, 134 deletions
diff --git a/o3d/documentation/externs/o3d-extra-externs.js b/o3d/documentation/externs/o3d-extra-externs.js index d9ce0f6..712b568 100755 --- a/o3d/documentation/externs/o3d-extra-externs.js +++ b/o3d/documentation/externs/o3d-extra-externs.js @@ -1,48 +1,48 @@ -
-/**
- * Special global variable for V8 instances.
- */
-var plugin;
-
-/**
- * The main namespace for the o3d plugin.
- * @constructor
- */
-var o3d;
-
-/**
- * @type {!Object}
- */
-var Exception = goog.typedef;
-
-/**
- * A namespace for the Cursor.
- * @namespace
- */
-o3d.Cursor = o3d.Cursor || { };
-
-/**
- * A namespace for the VectorMath.
- * @namespace
- */
-var Vectormath;
-
-/**
- * A namespace for the VectorMath.Aos
- * @namespace
- */
-Vectormath.Aos = Vectormath.Aos || { };
-
-/**
- * A 4x4 Matrix of floats
- * @type {!Array.<!Array.<number>>}
- */
-o3d.Matrix4 = goog.typedef;
-
-/**
- * RangeError.
- * why is this sometimes needed and sometimes not?
- * @exception
- */
-var RangeError;
-
+ +/** + * Special global variable for V8 instances. + */ +var plugin; + +/** + * The main namespace for the o3d plugin. + * @constructor + */ +var o3d; + +/** + * @type {!Object} + */ +var Exception = goog.typedef; + +/** + * A namespace for the Cursor. + * @namespace + */ +o3d.Cursor = o3d.Cursor || { }; + +/** + * A namespace for the VectorMath. + * @namespace + */ +var Vectormath; + +/** + * A namespace for the VectorMath.Aos + * @namespace + */ +Vectormath.Aos = Vectormath.Aos || { }; + +/** + * A 4x4 Matrix of floats + * @type {!Array.<!Array.<number>>} + */ +o3d.Matrix4 = goog.typedef; + +/** + * RangeError. + * why is this sometimes needed and sometimes not? + * @exception + */ +var RangeError; + diff --git a/o3d/documentation/get_docs_files.py b/o3d/documentation/get_docs_files.py index c138bc1..dd4bf3d 100644 --- a/o3d/documentation/get_docs_files.py +++ b/o3d/documentation/get_docs_files.py @@ -1,52 +1,52 @@ -#!/usr/bin/env python
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Helper script to generate file lists for documentation.gyp."""
-
-import os
-import sys
-import types
-
-
-def AppendBasePath(folder, filenames):
- """Appends a base path to a ist of files"""
- return [os.path.join(folder, filename) for filename in filenames]
-
-
-def GetIdlFiles():
- idl_list_filename = os.path.join('..', 'plugin', 'idl_list.manifest')
- idl_list_basepath = os.path.dirname(idl_list_filename)
- files = eval(open(idl_list_filename, "r").read())
- idl_files = AppendBasePath(idl_list_basepath, files)
- return idl_files
-
-
-def GetJsFiles():
- js_list_filename = os.path.join('..', 'samples', 'o3djs', 'js_list.manifest')
- js_list_basepath = os.path.dirname(js_list_filename)
- files = eval(open(js_list_filename, "r").read())
- o3djs_files = AppendBasePath(js_list_basepath, files)
- return o3djs_files
-
-
-# Read in the manifest files (which are just really simple python files),
-# and scrape out the file lists.
-# TODO(gspencer): Since we no longer use the scons build, we should
-# rework this so that the lists are just python lists so we can just
-# do a simple eval instead of having to emulate scons import.
-def main(argv):
- files = []
- if argv[0] == '--js':
- files = GetJsFiles()
- if argv[0] == '--idl':
- files = GetIdlFiles()
- files.sort()
- for file in files:
- # gyp wants paths with slashes, not backslashes.
- print file.replace("\\", "/")
-
-
-if __name__ == "__main__":
- main(sys.argv[1:])
+#!/usr/bin/env python +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +"""Helper script to generate file lists for documentation.gyp.""" + +import os +import sys +import types + + +def AppendBasePath(folder, filenames): + """Appends a base path to a ist of files""" + return [os.path.join(folder, filename) for filename in filenames] + + +def GetIdlFiles(): + idl_list_filename = os.path.join('..', 'plugin', 'idl_list.manifest') + idl_list_basepath = os.path.dirname(idl_list_filename) + files = eval(open(idl_list_filename, "r").read()) + idl_files = AppendBasePath(idl_list_basepath, files) + return idl_files + + +def GetJsFiles(): + js_list_filename = os.path.join('..', 'samples', 'o3djs', 'js_list.manifest') + js_list_basepath = os.path.dirname(js_list_filename) + files = eval(open(js_list_filename, "r").read()) + o3djs_files = AppendBasePath(js_list_basepath, files) + return o3djs_files + + +# Read in the manifest files (which are just really simple python files), +# and scrape out the file lists. +# TODO(gspencer): Since we no longer use the scons build, we should +# rework this so that the lists are just python lists so we can just +# do a simple eval instead of having to emulate scons import. +def main(argv): + files = [] + if argv[0] == '--js': + files = GetJsFiles() + if argv[0] == '--idl': + files = GetIdlFiles() + files.sort() + for file in files: + # gyp wants paths with slashes, not backslashes. + print file.replace("\\", "/") + + +if __name__ == "__main__": + main(sys.argv[1:]) diff --git a/o3d/documentation/jsdoc-toolkit-templates/static/prettify.css b/o3d/documentation/jsdoc-toolkit-templates/static/prettify.css index 69d11f7..1b4954b 100644 --- a/o3d/documentation/jsdoc-toolkit-templates/static/prettify.css +++ b/o3d/documentation/jsdoc-toolkit-templates/static/prettify.css @@ -1,34 +1,34 @@ -.str{ color: #008 }
-.kwd{ color: #808 }
-.com{ color: #800 }
-.typ{ color: #606 }
-.lit{ color: #066 }
-.pun{ color: #660 }
-.pln{ color: #060 }
-.tag{ color: #008 }
-.atn{ color: #606 }
-.atv{ color: #080 }
-.dec{ color: #606 }
-.prettyprint{
- font-family: Fixed, monospace;
- font-size: 95%;
- margin: 4px 8px 4px 2px;
- padding: 4px 6px;
- border: 1px solid #CCC;
- background-color: #f5f5f5;
-}
-.re.prettyprint{
-}
-@media print {
- .str{ color: #060 }
- .kwd{ color: #006; font-weight: bold }
- .com{ color: #600; font-style: italic }
- .typ{ color: #404; font-weight: bold }
- .lit{ color: #044 }
- .pun{ color: #440 }
- .pln{ color: #000 }
- .tag{ color: #006;font-weight: bold }
- .atn{ color: #404 }
- .atv{ color: #060 }
-}
-
+.str{ color: #008 } +.kwd{ color: #808 } +.com{ color: #800 } +.typ{ color: #606 } +.lit{ color: #066 } +.pun{ color: #660 } +.pln{ color: #060 } +.tag{ color: #008 } +.atn{ color: #606 } +.atv{ color: #080 } +.dec{ color: #606 } +.prettyprint{ + font-family: Fixed, monospace; + font-size: 95%; + margin: 4px 8px 4px 2px; + padding: 4px 6px; + border: 1px solid #CCC; + background-color: #f5f5f5; +} +.re.prettyprint{ +} +@media print { + .str{ color: #060 } + .kwd{ color: #006; font-weight: bold } + .com{ color: #600; font-style: italic } + .typ{ color: #404; font-weight: bold } + .lit{ color: #044 } + .pun{ color: #440 } + .pln{ color: #000 } + .tag{ color: #006;font-weight: bold } + .atn{ color: #404 } + .atv{ color: #060 } +} + |