2
Copyright (c) 2004-2006, The Dojo Foundation
5
Licensed under the Academic Free License version 2.1 or above OR the
6
modified BSD license. For more information on Dojo licensing, see:
8
http://dojotoolkit.org/community/licensing.shtml
11
dojo.provide("dojo.experimental");
13
dojo.experimental = function(/* String */ moduleName, /* String? */ extra){
14
// summary: Marks code as experimental.
16
// This can be used to mark a function, file, or module as experimental.
17
// Experimental code is not ready to be used, and the APIs are subject
18
// to change without notice. Experimental code may be completed deleted
19
// without going through the normal deprecation process.
20
// moduleName: The name of a module, or the name of a module file or a specific function
21
// extra: some additional message for the user
24
// dojo.experimental("dojo.data.Result");
25
// dojo.experimental("dojo.weather.toKelvin()", "PENDING approval from NOAA");
26
var message = "EXPERIMENTAL: " + moduleName;
27
message += " -- Not yet ready for use. APIs subject to change without notice.";
28
if(extra){ message += " " + extra; }