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
Started PUT "/frames/FDD5CD25-5228-4D66-A689-2B1355A34F9F" for 127.0.0.1 at 2012-04-22 21:22:37 -0400 | |
Processing by FramesController#update as JSON | |
Parameters: {"frame"=>{"id"=>"FDD5CD25-5228-4D66-A689-2B1355A34F9F", "label"=>"2228", "x"=>345, "created_at"=>"2012-04-23 00:01:26 +0000", "y"=>15, "width"=>270, "type"=>"VideoFrame", "_destroy"=>0, "updated_at"=>"2012-04-23 01:17:50 +0000", "height"=>255, "section_id"=>"66300105-3151-4DD7-96A3-85854A841391", "text"=>"<p><span class=\"VBScriptSceneObjectType\" id=\"8A8728ED-F6F4-45C5-8CCE-EB89C3869B40\">I/E. LOCATION - DAY</span></p>\n<p><span class=\"VBScriptCharacterObjectType\" id=\"2747BDD4-8491-464C-BAAA-9CF3F41C8C4F\">TONY</span></p>\n<p><span class=\"VBScriptDialogObjectType\" id=\"0DD0FD55-498A-469C-8FA2-384847E6F3D0\">hi there</span></p>\n<p><span class=\"VBScriptActionObjectType\" id=\"7ABCFE51-70EC-49B7-8E64-9EF2B9AE6906\">this is an actions</span></p>\n<p><span class=\"VBScriptActionObjectType\" id=\"A5498F6A-A746-48B5-B4C2-272AB26FAA71\">actions</sp |
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
2012-01-24 13:57:40.491 BuilderPrototypeA[68801:707] WILLVideoFrame successfully updated | |
2012-01-24 13:57:41.110 BuilderPrototypeA[68801:707] frames view controller was notified. | |
2012-01-24 13:57:42.466 BuilderPrototypeA[68801:707] frames view controller was notified. | |
2012-01-24 13:57:44.384 BuilderPrototypeA[68801:707] frames view controller was notified. | |
2012-01-24 13:57:44.519 BuilderPrototypeA[68801:707] Parsing message from user: 2 with appID: C60A5C0593BE465F80560119D6FA0523688010003AF914136EB33 | |
2012-01-24 13:57:44.549 BuilderPrototypeA[68801:707] WILLLock successfully deleted | |
2012-01-24 13:57:44.558 BuilderPrototypeA[68801:707] Parsing message from user: 2 with appID: C60A5C0593BE465F80560119D6FA0523688010003AF914136EB33 | |
2012-01-24 13:57:44.559 BuilderPrototypeA[68801:707] Parsing message from user: 2 with appID: C60A5C0593BE465F80560119D6FA0523688010003AF914136EB33 | |
2012-01-24 13:58:12.407 BuilderPrototypeA[68801:707] Parsing message from user: 5 with appID: 0F9DDFB45BE44151BD0B62D81C337CB7613320000FFC |
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
2012-01-19 20:42:06.210 BuilderPrototypeA[33084:707] Parsing message from user: 7 with appID: 6BE2D873F36D4484A01A1D94113F4763974710002084B164ACA75 | |
2012-01-19 20:42:06.244 BuilderPrototypeA[33084:707] Parsing message from user: 7 with appID: 6BE2D873F36D4484A01A1D94113F4763974710002084B164ACA75 | |
2012-01-19 22:00:39.845 BuilderPrototypeA[33084:707] Connection Error, attempting reconnection in 1 second | |
2012-01-19 22:00:42.169 BuilderPrototypeA[33084:707] XMPP User Connected | |
2012-01-19 22:00:42.269 BuilderPrototypeA[33084:707] Joined XMPP room: [email protected] | |
2012-01-19 22:00:42.274 BuilderPrototypeA[33084:707] Joined XMPP room: ffa081222d98cfdaeffc20fba6dbeaf2166380dc0ff50c0f02@conference.builder.local | |
2012-01-19 22:00:42.278 BuilderPrototypeA[33084:707] Parsing message from user: 7 with appID: 998AB655F9E44576809FF73EAECDB25B968910002078B96111746 | |
2012-01-19 22:00:42.279 BuilderPrototypeA[33084:707] Parsing message from user: 7 with appID: 998AB655F9E44576809FF73EAECDB25B968910002078B96111746 | |
2 |
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
// In View Class | |
- (void)drawRect:(CGRect)dirtyRect | |
{ | |
// Draw the background | |
NSGraphicsContext* theContext = [NSGraphicsContext currentContext]; | |
[theContext saveGraphicsState]; | |
[[NSGraphicsContext currentContext] setPatternPhase:NSMakePoint(0,[self.superview bounds].size.height)]; | |
[_backgroundColor set]; | |
NSRectFill([self bounds]); |
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
- (IBAction)createFrame:(id)sender | |
{ | |
NSString *frameType = [frameTypeComboBox stringValue]; | |
id newFrame = (NSManagedObject *)[NSClassFromString(frameType) createEntity]; | |
[newFrame setValue:frameType forKey:@"frameType"]; | |
[newFrame setValue:[[sectionObjectController content] valueForKey:@"identifier"] forKey:@"sectionID"]; | |
[self addObjectToFramesArrayController:newFrame]; | |
} |
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
def update | |
@text_frame = TextFrame.find(params[:id]) | |
# lock already exists, so this will return the existing lock | |
lock = Lock.new(current_user, @text_frame, "text_frame", params[:text_frame][:last_modified]) | |
if (!lock.save) | |
# handle error here, send bad status code and message | |
end | |
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
// ========================================================================== | |
// Project: RecordBug | |
// Copyright: @2011 My Company, Inc. | |
// ========================================================================== | |
/*globals RecordBug */ | |
RecordBug = SC.Application.create({ | |
store: SC.Store.create().from(SC.Record.fixtures) | |
}); |
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
require 'spec_helper' | |
describe "Users" do | |
describe "signup" do | |
describe "failure" do | |
it "should not make a new user" do | |
lambda do | |
visit signup_path |
NewerOlder