Skip to content

Instantly share code, notes, and snippets.

@ob
Created November 7, 2008 21:26
Show Gist options
  • Save ob/22970 to your computer and use it in GitHub Desktop.
Save ob/22970 to your computer and use it in GitHub Desktop.
diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j
index 8076b89..00d6baf 100644
--- a/AppKit/CPTableView.j
+++ b/AppKit/CPTableView.j
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-import "CPControl.j"
-import "CPTableColumn.j"
+@import "CPControl.j"
+@import "CPTableColumn.j"
var CPTableViewCellPlaceholder = nil;
diff --git a/Tests/Foundation/CPArrayTest.j b/Tests/Foundation/CPArrayTest.j
index 403cfc6..811f42b 100644
--- a/Tests/Foundation/CPArrayTest.j
+++ b/Tests/Foundation/CPArrayTest.j
@@ -1,6 +1,6 @@
-import <Foundation/CPArray.j>
-import <Foundation/CPString.j>
-import <Foundation/CPNumber.j>
+@import <Foundation/CPArray.j>
+@import <Foundation/CPString.j>
+@import <Foundation/CPNumber.j>
@implementation CPArrayTest : OJTestCase
diff --git a/Tests/Foundation/CPDateTest.j b/Tests/Foundation/CPDateTest.j
index a94ec00..ef06821 100644
--- a/Tests/Foundation/CPDateTest.j
+++ b/Tests/Foundation/CPDateTest.j
@@ -1,4 +1,4 @@
-import <Foundation/CPDate.j>
+@import <Foundation/CPDate.j>
@implementation CPDateTest : OJTestCase
diff --git a/Tests/Foundation/CPKVOTest.j b/Tests/Foundation/CPKVOTest.j
index f1a2216..d124401 100644
--- a/Tests/Foundation/CPKVOTest.j
+++ b/Tests/Foundation/CPKVOTest.j
@@ -1,5 +1,5 @@
-import <Foundation/CPKeyValueCoding.j>
-import <Foundation/CPKeyValueObserving.j>
+@import <Foundation/CPKeyValueCoding.j>
+@import <Foundation/CPKeyValueObserving.j>
@implementation CPKVOTest : OJTestCase
{
diff --git a/Tests/Foundation/CPStringTest.j b/Tests/Foundation/CPStringTest.j
index ec4c3e7..8b1121d 100644
--- a/Tests/Foundation/CPStringTest.j
+++ b/Tests/Foundation/CPStringTest.j
@@ -1,4 +1,4 @@
-import <Foundation/CPString.j>
+@import <Foundation/CPString.j>
@implementation CPStringTest : OJTestCase
diff --git a/Tools/NewApplication/AppController.j b/Tools/NewApplication/AppController.j
index d8c7915..af13d8c 100644
--- a/Tools/NewApplication/AppController.j
+++ b/Tools/NewApplication/AppController.j
@@ -1,5 +1,5 @@
-import <Foundation/CPObject.j>
+@import <Foundation/CPObject.j>
@implementation AppController : CPObject
diff --git a/Tools/NewApplication/main.j b/Tools/NewApplication/main.j
index 6357f21..5501272 100755
--- a/Tools/NewApplication/main.j
+++ b/Tools/NewApplication/main.j
@@ -6,10 +6,10 @@
// Copyright 2005 - 2008, 280 North, Inc. All rights reserved.
//
-import <Foundation/Foundation.j>
-import <AppKit/AppKit.j>
+@import <Foundation/Foundation.j>
+@import <AppKit/AppKit.j>
-import "AppController.j"
+@import "AppController.j"
function main(args, namedArgs)
{
diff --git a/Tools/NibApp/AppController.j b/Tools/NibApp/AppController.j
index 23f49fe..e9729b0 100644
--- a/Tools/NibApp/AppController.j
+++ b/Tools/NibApp/AppController.j
@@ -1,6 +1,6 @@
-import <Foundation/CPObject.j>
-import <AppKit/CPCib.j>
+@import <Foundation/CPObject.j>
+@import <AppKit/CPCib.j>
@implementation AppController : CPObject
diff --git a/Tools/NibApp/main.j b/Tools/NibApp/main.j
index 9f3ebc9..49215c2 100755
--- a/Tools/NibApp/main.j
+++ b/Tools/NibApp/main.j
@@ -6,10 +6,10 @@
// Copyright 2005 - 2008, 280 North, Inc. All rights reserved.
//
-import <Foundation/Foundation.j>
-import <AppKit/AppKit.j>
+@import <Foundation/Foundation.j>
+@import <AppKit/AppKit.j>
-import "AppController.j"
+@import "AppController.j"
CPLogRegister(CPLogPopup);
diff --git a/Tools/bake/bake.j b/Tools/bake/bake.j
index 2865f2f..7df936a 100644
--- a/Tools/bake/bake.j
+++ b/Tools/bake/bake.j
@@ -1,4 +1,4 @@
-import <Foundation/Foundation.j>
+@import <Foundation/Foundation.j>
importPackage(Packages.java.io);
var options = {
diff --git a/Tools/press/press.j b/Tools/press/press.j
index 22d84f3..0466e19 100644
--- a/Tools/press/press.j
+++ b/Tools/press/press.j
@@ -1,6 +1,6 @@
-import <Foundation/Foundation.j>
+@import <Foundation/Foundation.j>
-import "objj-analysis-tools.j"
+@import "objj-analysis-tools.j"
var defaultMain = "main.j",
defaultFrameworks = "Frameworks";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment