~t7-vla7-lz/psiphon/psiphon

« back to all changes in this revision

Viewing changes to trunk/testing/selenium_scripts/selenium/tests/html/dojo-0.4.0-mini/src/experimental.js

  • Committer: Eugene Fryntov
  • Date: 2016-11-15 22:13:59 UTC
  • mfrom: (373.1.1 psiphon)
  • Revision ID: e.fryntov@psiphon.ca-20161115221359-f6s56ue1a54n4ijj
merged lp:~t7-vla7-lz/psiphon/psiphon @ 374

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
        Copyright (c) 2004-2006, The Dojo Foundation
3
 
        All Rights Reserved.
4
 
 
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:
7
 
 
8
 
                http://dojotoolkit.org/community/licensing.shtml
9
 
*/
10
 
 
11
 
dojo.provide("dojo.experimental");
12
 
 
13
 
dojo.experimental = function(/* String */ moduleName, /* String? */ extra){
14
 
        // summary: Marks code as experimental.
15
 
        // description: 
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
22
 
        
23
 
        // examples:
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; }
29
 
        dojo.debug(message);
30
 
}