This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var CPTextViewDataStorageKey = @"CPTextViewDataStorageKey", | |
| CPTextViewTextContainerKey = @"CPTextViewTextContainerKey", | |
| CPTextViewLayoutManagerKey = @"CPTextViewLayoutManagerKey", | |
| CPTextViewDelegateKey = @"CPTextViewDelegateKey", | |
| CPTextViewTextContainerInsetKey = @"CPTextViewTextContainerInsetKey", | |
| CPTextViewTextContainerOriginKey = @"CPTextViewTextContainerOriginKey", | |
| CPTextViewSelectionRangeKey = @"CPTextViewSelectionRangeKey", | |
| CPTextViewSelectedTextAttributesKey = @"CPTextViewSelectedTextAttributesKey", | |
| CPTextViewSelectionGranularityKey = @"CPTextViewSelectionGranularityKey", | |
| CPTextViewInsertionPointColorKey = @"CPTextViewInsertionPointColorKey", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (id)initWithCoder:(CPCoder)aCoder | |
| { | |
| self = [super initWithCoder:aCoder]; | |
| if (self) | |
| { | |
| enclosingBox = [aCoder decodeObjectForKey:@"enclosingBox"]; | |
| [enclosingBox setBorderType:CPBezelBorder]; | |
| [enclosingBox setFillColor:[CPColor clearColor]]; | |
| argumentTitleView = [aCoder decodeObjectForKey:@"argumentTitleView"]; debugger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * AppController.j | |
| * test | |
| * | |
| * Created by You on July 25, 2010. | |
| * Copyright 2010, Your Company All rights reserved. | |
| */ | |
| @import <Foundation/CPObject.j> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (CPToolbarItem)toolbar:(CPToolbar)toolbar itemForItemIdentifier:(CPString)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag | |
| { | |
| var toolbarItem = [[CPToolbarItem alloc] initWithItemIdentifier:itemIdentifier]; | |
| if (itemIdentifier === @"icon") | |
| { | |
| [toolbarItem setImage:[[CPImage alloc] initWithContentsOfFile:@"Resources/images/toolbarDetailedDebateIcon3.jpg" size:CGSizeMake(258.2,48)]]; | |
| [toolbarItem setLabel:@""]; | |
| [toolbarItem setMinSize:CGSizeMake(258.2,48)]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sh configure | |
| Detected <JavaScriptCore/JavaScript.h> | |
| gcc -o lib/libnarwhal.dylib narwhal.c -dynamiclib -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -framework JavaScriptCore | |
| mkdir -p `dirname bin/narwhal-webkit` | |
| gcc -o bin/narwhal-webkit -DWEBKIT -x objective-c narwhal-jsc.c -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal \ | |
| -framework Foundation -framework WebKit | |
| install_name_tool -change "lib/libnarwhal.dylib" "@executable_path/../lib/libnarwhal.dylib" "bin/narwhal-webkit" | |
| mkdir -p `dirname lib/binary-engine.dylib` | |
| g++ -o lib/binary-engine.dylib src/binary-engine.cc -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -dynamiclib -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal | |
| #install_name_tool -change "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore" "@executable_path/../frameworks/JavaScriptCore.fr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cc1obj: error: /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/NativeHost_Prefix-ceqtmfabknwynzftyznkcgpuzhhf/NativeHost_Prefix.pch: No such file or directory | |
| cc1obj: error: one or more PCH files were found, but they were invalid | |
| cc1obj: error: use -Winvalid-pch for more information |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2011-01-11 09:24:08.618 nib2cib [info]: Auto-detected Cocoa Nib or Xib File | |
| 2011-01-11 09:24:08.894 nib2cib [info]: Mapping NSPanel to CPPanel | |
| 2011-01-11 09:24:08.902 nib2cib [info]: Adjusting CPButton height from 32 / 32 to 24 | |
| 2011-01-11 09:24:08.904 nib2cib [info]: Adjusting CPButton height from 32 / 32 to 24 | |
| 2011-01-11 09:24:08.906 nib2cib [info]: Mapping NSApplication to CPApplication | |
| 2011-01-11 09:24:08.953 nib2cib [info]: Mapping NSView to CPView | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fetchActivities:(callback)-> | |
| @invokeServerSide | |
| fetchActivities: | |
| params: | |
| limit: 50 | |
| middleware : (err,params,activities)=> | |
| @activities = for activity in activities | |
| Activity::create (id : activity.id, type : activity.item.type), activity | |
| @activities.fetchSubData path:"participants" | |
| callback? @activities |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @instanceVariables = | |
| activities: | |
| fetch: | |
| apiCall : 'fetchActivities' | |
| apiParams : | |
| limit : 50 | |
| returnedDataInit : @initializeActivity | |
| returnedDataPostProcess : @activitiesPostProcess | |
| returnedDataChangeType: 'refresh' #'addStart', 'addEnd', 'removeStart', 'removeEnd', 'remove' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @instanceVariables = | |
| activities: | |
| singular : activity | |
| methods: | |
| fetch: | |
| apiParams : | |
| limit : 50 | |
| dataChangeType : 'refresh' # possible values: 'addStart', 'addEnd', 'removeStart', 'removeEnd', 'remove' |
OlderNewer