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
import android.util.Base64; | |
import android.util.Log; | |
import com.bugsnag.android.Bugsnag; | |
import com.bugsnag.android.MetaData; | |
import com.bugsnag.android.Severity; | |
import com.facebook.react.bridge.*; | |
import java.io.File; | |
import java.io.InputStream; |
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
#!/bin/bash -x | |
find . -name 'fbjs' -print | grep "\./node_modules/fbjs" -v | xargs rm -rf |
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
# Sometimes in your app you may have a global route that will catch everything | |
# So it's not possible to use should_not be_routable or should_not route_to | |
# In this case you can use should not_route_to. | |
# Example: | |
# {:get => '/users/123/upgrade'}.should not_route_to(:controller => "users", :action => "upgrade", :user_id => "123") | |
Spec::Matchers.define :not_route_to do |destination| | |
extend Spec::Rails::Example::RoutingHelpers | |
match_unless_raises do |path| | |
method, path, querystring = Spec::Rails::Matchers::PathDecomposer.decompose_path(path) |
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
// In showControls() | |
// click next control | |
$nextHtml.click(function() { | |
base.goToNextSlide(); | |
options.onControlsClick(base); | |
return false; | |
}); | |
// click prev control | |
$prevHtml.click(function() { |