Skip to content

Commit

Permalink
Standardize on "-" rather than "*" for unordered lists, since "*" doe…
Browse files Browse the repository at this point in the history
…sn't work, and also since most of our code is already using "-". Refs #13101 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@29117 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
wkeese committed Jul 3, 2012
1 parent bc7bdc0 commit 6fc3757
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 76 deletions.
8 changes: 4 additions & 4 deletions _base/Deferred.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ define([
//
// The Deferred instances also provide the following functions for backwards compatibility:
//
// * addCallback(handler)
// * addErrback(handler)
// * callback(result)
// * errback(result)
// - addCallback(handler)
// - addErrback(handler)
// - callback(result)
// - errback(result)
//
// Callbacks are allowed to return promises themselves, so
// you can build complicated sequences of events with ease.
Expand Down
10 changes: 5 additions & 5 deletions _base/kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ define(["../has", "./config", "require", "module"], function(has, config, requir
// description:
// Hash about the version, including
//
// * major: Integer: Major version. If total version is "1.2.0beta1", will be 1
// * minor: Integer: Minor version. If total version is "1.2.0beta1", will be 2
// * patch: Integer: Patch version. If total version is "1.2.0beta1", will be 0
// * flag: String: Descriptor flag. If total version is "1.2.0beta1", will be "beta1"
// * revision: Number: The SVN rev from which dojo was pulled
// - major: Integer: Major version. If total version is "1.2.0beta1", will be 1
// - minor: Integer: Minor version. If total version is "1.2.0beta1", will be 2
// - patch: Integer: Patch version. If total version is "1.2.0beta1", will be 0
// - flag: String: Descriptor flag. If total version is "1.2.0beta1", will be "beta1"
// - revision: Number: The SVN rev from which dojo was pulled

major: 1, minor: 8, patch: 0, flag: "dev",
revision: rev ? +rev[0] : NaN,
Expand Down
18 changes: 9 additions & 9 deletions date/stamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ stamp.fromISOString = function(/*String*/ formattedString, /*Number?*/ defaultTi
// Can also process dates as specified [by the W3C](http://www.w3.org/TR/NOTE-datetime)
// The following combinations are valid:
//
// * dates only
// * yyyy
// * yyyy-MM
// * yyyy-MM-dd
// * times only, with an optional time zone appended
// * THH:mm
// * THH:mm:ss
// * THH:mm:ss.SSS
// * and "datetimes" which could be any combination of the above
// - dates only
// - yyyy
// - yyyy-MM
// - yyyy-MM-dd
// - times only, with an optional time zone appended
// - THH:mm
// - THH:mm:ss
// - THH:mm:ss.SSS
// - and "datetimes" which could be any combination of the above
//
// timezones may be specified as Z (for UTC) or +/- followed by a time expression HH:mm
// Assumes the local time zone if not specified. Does not validate. Improperly formatted
Expand Down
6 changes: 3 additions & 3 deletions dojo.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
//
// This loader includes sniffing machinery to determine the environment; the following environments are supported:
//
// * browser
// * node.js
// * rhino
// - browser
// - node.js
// - rhino
//
// This is the so-called "source loader". As such, it includes many optional features that may be discadred by
// building a customized verion with the build system.
Expand Down
12 changes: 6 additions & 6 deletions dom-construct.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ define(["exports", "./_base/kernel", "./sniff", "./_base/window", "./dom", "./do
// number indicating the location in the childNodes collection of refNode.
// Accepted string values are:
//
// * before
// * after
// * replace
// * only
// * first
// * last
// - before
// - after
// - replace
// - only
// - first
// - last
//
// "first" and "last" indicate positions as children of refNode, "replace" replaces refNode,
// "only" replaces all children. position defaults to "last" if not specified
Expand Down
18 changes: 9 additions & 9 deletions dom-geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ define(["./sniff", "./_base/window","./dom", "./dom-style"],
// returns an object with properties useful for noting the border
// dimensions.
// description:
// * l/t/r/b = the sum of left/top/right/bottom border (respectively)
// * w = the sum of the left and right border
// * h = the sum of the top and bottom border
// - l/t/r/b = the sum of left/top/right/bottom border (respectively)
// - w = the sum of the left and right border
// - h = the sum of the top and bottom border
//
// The w/h are used for calculating boxes.
// Normally application code will not need to invoke this
Expand Down Expand Up @@ -97,9 +97,9 @@ define(["./sniff", "./_base/window","./dom", "./dom-style"],
// Returns object with properties useful for box fitting with
// regards to padding.
// description:
// * l/t/r/b = the sum of left/top/right/bottom padding and left/top/right/bottom border (respectively)
// * w = the sum of the left and right padding and border
// * h = the sum of the top and bottom padding and border
// - l/t/r/b = the sum of left/top/right/bottom padding and left/top/right/bottom border (respectively)
// - w = the sum of the left and right padding and border
// - h = the sum of the top and bottom padding and border
//
// The w/h are used for calculating boxes.
// Normally application code will not need to invoke this
Expand Down Expand Up @@ -132,9 +132,9 @@ define(["./sniff", "./_base/window","./dom", "./dom-style"],
// returns object with properties useful for box fitting with
// regards to box margins (i.e., the outer-box).
//
// * l/t = marginLeft, marginTop, respectively
// * w = total width, margin inclusive
// * h = total height, margin inclusive
// - l/t = marginLeft, marginTop, respectively
// - w = total width, margin inclusive
// - h = total height, margin inclusive
//
// The w/h are used for calculating boxes.
// Normally application code will not need to invoke this
Expand Down
6 changes: 3 additions & 3 deletions has.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ define(["require"], function(require){
// description:
// This module defines the has API as described by the project has.js with the following additional features:
//
// * the has test cache is exposed at has.cache.
// * the method has.add includes a forth parameter that controls whether or not existing tests are replaced
// * the loader's has cache may be optionally copied into this module's has cahce.
// - the has test cache is exposed at has.cache.
// - the method has.add includes a forth parameter that controls whether or not existing tests are replaced
// - the loader's has cache may be optionally copied into this module's has cahce.
//
// This module adopted from https://github.com/phiggins42/has.js; thanks has.js team!

Expand Down
12 changes: 6 additions & 6 deletions parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,25 +765,25 @@ define(
// options: Object?
// A hash of options.
//
// * noStart: Boolean?
// - noStart: Boolean?:
// when set will prevent the parser from calling .startup()
// when locating the nodes.
// * rootNode: DomNode?
// - rootNode: DomNode?:
// identical to the function's `rootNode` argument, though
// allowed to be passed in via this `options object.
// * template: Boolean
// - template: Boolean:
// If true, ignores ContentPane's stopParser flag and parses contents inside of
// a ContentPane inside of a template. This allows dojoAttachPoint on widgets/nodes
// nested inside the ContentPane to work.
// * inherited: Object
// - inherited: Object:
// Hash possibly containing dir and lang settings to be applied to
// parsed widgets, unless there's another setting on a sub-node that overrides
// * scope: String
// - scope: String:
// Root for attribute names to search for. If scopeName is dojo,
// will search for data-dojo-type (or dojoType). For backwards compatibility
// reasons defaults to dojo._scopeName (which is "dojo" except when
// multi-version support is used, when it will be something like dojo16, dojo20, etc.)
// * propsThis: Object
// - propsThis: Object:
// If specified, "this" referenced from data-dojo-props will refer to propsThis.
// Intended for use from the widgets-in-template feature of `dijit._WidgetsInTemplateMixin`
// returns: Mixed
Expand Down
56 changes: 28 additions & 28 deletions selector/acme.js
Original file line number Diff line number Diff line change
Expand Up @@ -1328,27 +1328,27 @@ define([
//
// acme supports a rich set of CSS3 selectors, including:
//
// * class selectors (e.g., `.foo`)
// * node type selectors like `span`
// * ` ` descendant selectors
// * `>` child element selectors
// * `#foo` style ID selectors
// * `*` universal selector
// * `~`, the preceded-by sibling selector
// * `+`, the immediately preceded-by sibling selector
// * attribute queries:
// * `[foo]` attribute presence selector
// * `[foo='bar']` attribute value exact match
// * `[foo~='bar']` attribute value list item match
// * `[foo^='bar']` attribute start match
// * `[foo$='bar']` attribute end match
// * `[foo*='bar']` attribute substring match
// * `:first-child`, `:last-child`, and `:only-child` positional selectors
// * `:empty` content emtpy selector
// * `:checked` pseudo selector
// * `:nth-child(n)`, `:nth-child(2n+1)` style positional calculations
// * `:nth-child(even)`, `:nth-child(odd)` positional selectors
// * `:not(...)` negation pseudo selectors
// - class selectors (e.g., `.foo`)
// - node type selectors like `span`
// - ` ` descendant selectors
// - `>` child element selectors
// - `#foo` style ID selectors
// - `*` universal selector
// - `~`, the preceded-by sibling selector
// - `+`, the immediately preceded-by sibling selector
// - attribute queries:
// - `[foo]` attribute presence selector
// - `[foo='bar']` attribute value exact match
// - `[foo~='bar']` attribute value list item match
// - `[foo^='bar']` attribute start match
// - `[foo$='bar']` attribute end match
// - `[foo*='bar']` attribute substring match
// - `:first-child`, `:last-child`, and `:only-child` positional selectors
// - `:empty` content emtpy selector
// - `:checked` pseudo selector
// - `:nth-child(n)`, `:nth-child(2n+1)` style positional calculations
// - `:nth-child(even)`, `:nth-child(odd)` positional selectors
// - `:not(...)` negation pseudo selectors
//
// Any legal combination of these selectors will work with
// `dojo.query()`, including compound selectors ("," delimited).
Expand All @@ -1364,14 +1364,14 @@ define([
// what's reasonable for a programmatic node querying engine to
// handle. Currently unsupported selectors include:
//
// * namespace-differentiated selectors of any form
// * all `::` pseduo-element selectors
// * certain pseudo-selectors which don't get a lot of day-to-day use:
// * `:root`, `:lang()`, `:target`, `:focus`
// * all visual and state selectors:
// * `:root`, `:active`, `:hover`, `:visited`, `:link`,
// - namespace-differentiated selectors of any form
// - all `::` pseduo-element selectors
// - certain pseudo-selectors which don't get a lot of day-to-day use:
// - `:root`, `:lang()`, `:target`, `:focus`
// - all visual and state selectors:
// - `:root`, `:active`, `:hover`, `:visited`, `:link`,
// `:enabled`, `:disabled`
// * `:*-of-type` pseudo selectors
// - `:*-of-type` pseudo selectors
//
// dojo.query and XML Documents:
// -----------------------------
Expand Down
6 changes: 3 additions & 3 deletions store/api/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ Store.QueryResults = declare("Store.QueryResults", null, {
// arguments:
// | listener(object, removedFrom, insertedInto);
//
// * The object parameter indicates the object that was create, modified, or deleted.
// * The removedFrom parameter indicates the index in the result array where
// - The object parameter indicates the object that was create, modified, or deleted.
// - The removedFrom parameter indicates the index in the result array where
// the object used to be. If the value is -1, then the object is an addition to
// this result set (due to a new object being created, or changed such that it
// is a part of the result set).
// * The insertedInto parameter indicates the index in the result array where
// - The insertedInto parameter indicates the index in the result array where
// the object should be now. If the value is -1, then the object is a removal
// from this result set (due to an object being deleted, or changed such that it
// is not a part of the result set).
Expand Down

0 comments on commit 6fc3757

Please sign in to comment.