Changeset 8948
- Timestamp:
- 02/29/08 06:53:30 (6 months ago)
- Files:
-
- spinoffs/prototype/trunk/CHANGELOG (modified) (1 diff)
- spinoffs/prototype/trunk/ext/deprecation/deprecation_test.html (modified) (1 diff)
- spinoffs/prototype/trunk/ext/deprecation/deprecation.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spinoffs/prototype/trunk/CHANGELOG
r8930 r8948 1 * deprecation extension: mark Hash.toJSON() as removed. [Tobie Langel] 2 1 3 * deprecation extension: mark Class.create() used without arguments as deprecated. [Tobie Langel] 2 4 spinoffs/prototype/trunk/ext/deprecation/deprecation_test.html
r8930 r8948 220 220 assertDeprecationNotified('Hash.toQueryString has been deprecated.\n' + 221 221 'Use the instance method Hash#toQueryString or Object.toQueryString instead.'); 222 223 Hash.toJSON({}); 224 assertRemovalNotified('Hash.toJSON has been removed.\n' + 225 'Use the instance method Hash#toJSON or Object.toJSON instead.'); 222 226 223 227 var h = $H({ foo: 2 }); spinoffs/prototype/trunk/ext/deprecation/deprecation.js
r8930 r8948 278 278 279 279 { 280 methodName: 'toJSON', 281 namespace: Hash, 282 message: 'Hash.toJSON has been removed.\n' + 283 'Use the instance method Hash#toJSON or Object.toJSON instead.', 284 type: 'removal' 285 }, 286 287 { 280 288 methodName: 'remove', 281 289 namespace: Hash.prototype,