Giter Club home page Giter Club logo

api's People

Contributors

charnekin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

api's Issues

Problem with isMobile check

The current method for checking if the app is running on mobile does not work if you are running in the ripple emulator, the following code will add check for the emulator and assume mobile,

  var cordovaLoadIfMobile = function () {

  var isMobile = function () {
      var protocol = location.protocol;
     if ( protocol.indexOf("http:") === 0 ){
        return false;
     }else{
        return true;
     }
  };

  var emulated = window.tinyHippos != undefined;

  if (isMobile() || emulated) {
      require([
         'mobile'
      ], function () {
          Mobile.load();
      });
  }};

EddyVerbruggen's custom url scheme plugin issues

Sorry for a bit of crossposting here as I'm posting this on 2 githubs, primarily as this one has little to no traction. I am using the charnekin code in conjunction with the custome url protocol mentioned above and when launched from an URL I just get a blank screen, nothing else. I'm trying to locate the issue but it's proving to be most difficult.

Where would I start? I can use chrome inspect with the emulator but it doesn't show any errors. If I place my handler in index.html along with an alert when the page loads, the alert is displayed but the handler is not invoked.

Attempting to remove surpluss languages

Hi there,

I'm trying to remove the secondary language from the code so that only english exists in my first version, I can remove all the string literals fine, but when I remove the language from the en.languages array I get an out of bounds error, it still attempts to look for a language at index 1 of rhe array.

Where is it getting the language count from and how do i change it?

Many thanks in advance.

adding content to the page header?

Hi there,

Is it possible to add stuff to the head element of a page? Such as optional javascript that i only want loaded on certain modules. I'm kind of guessing it's not as it's a single page that's rendered once only.

I'm getting by with just including my script for all pages for the moment but if it's possible to optimise it in this way that would be great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.