Skip to content

Commit

Permalink
jslint's 'use strict' now works
Browse files Browse the repository at this point in the history
  • Loading branch information
parmanoir committed Aug 17, 2011
1 parent 9ec1173 commit 8ac38a6
Show file tree
Hide file tree
Showing 3 changed files with 4,631 additions and 2,979 deletions.
3 changes: 0 additions & 3 deletions JSCocoa/JSCocoaPrivateObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ - (void)cleanUp
// if ([object isKindOfClass:[JSCocoaController class]])
// [object autorelease];
// else
NSLog(@"about to cleanup %p", object);
[object release];
NSLog(@"cleaned %p", object);
}
if (jsValue)
{
Expand Down Expand Up @@ -98,7 +96,6 @@ - (void)setObject:(id)o
{
// if (object && retainObject)
// [object release];
NSLog(@"about to set %p (class=%@, object=%@)", o, [o class], o);
object = o;
if (object && [object retainCount] == -1) return;
[object retain];
Expand Down
3 changes: 1 addition & 2 deletions JSCocoa/jslint-jscocoa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5672,13 +5672,12 @@ members)?
};

itself.edition = '2009-05-06';
/*

var JSLINTGLOBALS = {}
var _varstatement = varstatement
varstatement = function () {
return _varstatement.apply(JSLINTGLOBALS, arguments)
}
*/
return itself;

});
Expand Down
Loading

0 comments on commit 8ac38a6

Please sign in to comment.