Skip to content

Commit

Permalink
core_js is never used and is a waste of resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
emsquared committed Aug 11, 2012
1 parent 21c7dfe commit f65a2bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion Classes/Headers/TPCViewTheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
@property (nonatomic, strong) NSString *path;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) TPCOtherTheme *other;
@property (nonatomic, strong) TLOFileWithContent *core_js;

- (void)reload;
- (void)validateFilePathExistanceAndReload:(BOOL)reload;
Expand Down
3 changes: 0 additions & 3 deletions Classes/Preferences/Themes/TPCViewTheme.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ - (id)init
{
if ((self = [super init])) {
self.other = [TPCOtherTheme new];

self.core_js = [TLOFileWithContent new];
self.core_js.filename = [[TPCPreferences whereResourcePath] stringByAppendingPathComponent:@"/JavaScript/API/core.js"];
}

return self;
Expand Down
4 changes: 2 additions & 2 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<key>TXBundleBuildCodeName</key>
<string>Turtle Soup</string>
<key>TXBundleBuildNumber</key>
<string>12344</string>
<string>12346</string>
<key>TXBundleBuildReference</key>
<string>2.1.1p3-304-g9c42805-stdbuild</string>
<string>2.1.1p3-305-g84bd6f4-appstore</string>
</dict>
</plist>

0 comments on commit f65a2bc

Please sign in to comment.