This file contains 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
package util | |
{ | |
import flash.debugger.enterDebugger; | |
public class BreakingObserver extends Observer | |
{ | |
private var _handler : Function; | |
private var _source : Object; | |
//optional value to check for entering the debugger |
This file contains 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
package com.schedulr.business.events | |
{ | |
import flash.events.Event; | |
import mx.rpc.Responder; | |
import mx.rpc.events.FaultEvent; | |
public class BaseResponderEvent extends Event | |
{ | |
public var responder:Responder; |
This file contains 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
package | |
{ | |
import flash.events.IEventDispatcher; | |
import mx.binding.utils.BindingUtils; | |
import mx.events.FlexEvent; | |
[DefaultProperty("mappings")] | |
public class DIMap | |
{ | |
private function addBindingListeners( event:FlexEvent ):void |
This file contains 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 "erb" | |
template = %q{ | |
package | |
{ | |
[Bindable] | |
[RemoteClass(alias="<%= package %>.<%= class_name%>")] | |
public class <%=class_name%> extends <%=parent_class%> | |
{ |
This file contains 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
/* ------------------------------------------------------------- | |
CSS3, Please! The Cross-Browser CSS3 Rule Generator | |
=================================================== | |
From css3please.com | |
------------------------------------------------------------- */ | |
.box_round { | |
-moz-border-radius: 12px; /* FF1+ */ | |
-webkit-border-radius: 12px; /* Saf3+, Chrome */ |
This file contains 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
@interface MyClass() | |
- (void)myPrivateMethod; | |
@end | |
@implementation MyClass | |
- (void)myPublicMethod { | |
// Implementation goes here |
This file contains 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 transform | |
find('.item').replace_each(@items) do |item| | |
find('h2').text("#{item.name}").attr('data', item.id.to_s) | |
find('.tags').html(markup_for_tags item.tags) | |
find('.deleteBttn').attr('id',item.id.to_s) | |
end | |
if @page_count > 1 | |
if @curr_page != @page_count | |
find("#paginator li.next a").attr('href',"items?page=#{@curr_page+1}") |
This file contains 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
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
This file contains 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
/** | |
* Pruebas para la creacion de un usuario en el sitio | |
*/ | |
var Feature = require('vows-bdd').Feature, | |
http = require('http'), | |
assert = require('assert'); | |
Feature('Creando un usuario', module) |
OlderNewer