OLD | NEW |
1 /// Copyright (c) 2009 Microsoft Corporation | 1 /// Copyright (c) 2009 Microsoft Corporation |
2 /// | 2 /// |
3 /// Redistribution and use in source and binary forms, with or without modificat
ion, are permitted provided | 3 /// Redistribution and use in source and binary forms, with or without modificat
ion, are permitted provided |
4 /// that the following conditions are met: | 4 /// that the following conditions are met: |
5 /// * Redistributions of source code must retain the above copyright notice,
this list of conditions and | 5 /// * Redistributions of source code must retain the above copyright notice,
this list of conditions and |
6 /// the following disclaimer. | 6 /// the following disclaimer. |
7 /// * Redistributions in binary form must reproduce the above copyright notic
e, this list of conditions and | 7 /// * Redistributions in binary form must reproduce the above copyright notic
e, this list of conditions and |
8 /// the following disclaimer in the documentation and/or other materials pr
ovided with the distribution. | 8 /// the following disclaimer in the documentation and/or other materials pr
ovided with the distribution. |
9 /// * Neither the name of Microsoft nor the names of its contributors may be
used to | 9 /// * Neither the name of Microsoft nor the names of its contributors may be
used to |
10 /// endorse or promote products derived from this software without specific
prior written permission. | 10 /// endorse or promote products derived from this software without specific
prior written permission. |
(...skipping 19 matching lines...) Expand all Loading... |
30 var numProto = Object.getPrototypeOf(new Number(42)); | 30 var numProto = Object.getPrototypeOf(new Number(42)); |
31 var s = Object.prototype.toString.call(numProto ); | 31 var s = Object.prototype.toString.call(numProto ); |
32 return (s === '[object Number]') ; | 32 return (s === '[object Number]') ; |
33 }, | 33 }, |
34 | 34 |
35 precondition: function prereq() { | 35 precondition: function prereq() { |
36 return fnExists(Object.getPrototypeOf); | 36 return fnExists(Object.getPrototypeOf); |
37 } | 37 } |
38 | 38 |
39 }); | 39 }); |
OLD | NEW |