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
define(['module', 'ham'],function(module, ham ){ | |
console.log( 'bread.js', module.config(), ham ); | |
return {label:'Bread Object'}; | |
}); |
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 info.juanmendez.android.intentservice.module; | |
import android.app.Application; | |
import com.squareup.otto.Bus; | |
import com.squareup.otto.ThreadEnforcer; | |
import java.util.ArrayList; | |
import javax.inject.Singleton; |
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
ko.singleWriter = function( init ){ | |
var _observable = ko.observable(init); | |
var _request = ko.observable(init); | |
var _writer = null; | |
var _writerFN = null; | |
//computed observable that we will return | |
var result = ko.computed({ | |
//always return the actual value | |
read: function() { |
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 YOUR_PACKAGE; | |
import android.os.Handler; | |
import android.os.Looper; | |
import com.squareup.otto.Bus; | |
public class BusUtil | |
{ | |
private static final Handler mainThread = new Handler(Looper.getMainLooper()); |
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
.carousel{ | |
.skyblue { | |
background-color: $light_blue; | |
} | |
.deepskyblue { | |
background-color: $dark_blue; | |
} | |
.darkerskyblue { | |
background-color: $light_orange; |
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 info.juanmendez.client; | |
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.webkit.WebView; | |
import android.webkit.WebViewClient; | |
public class ClientWebViewFragment extends WebViewFragment |