GithubHelp home page GithubHelp logo

Comments (4)

nrichand avatar nrichand commented on June 28, 2024

Le bug n'est-il pas plutôt à ouvrir coté Chrome Canary? ;)

from brownbaglunch.

fsarradin avatar fsarradin commented on June 28, 2024

C'est en cours... :)

from brownbaglunch.

fsarradin avatar fsarradin commented on June 28, 2024

Voici ce que me dit la console Chrome :

> Refused to execute script from 'https://raw.github.com/HPNeo/gmaps/master/gmaps.js'
  because its MIME type ('text/plain') is not executable, and strict MIME type checking is
  enabled. (baggers.html:1)
> Uncaught ReferenceError: GMaps is not defined  (baggersUtils.js:3)

Le problème est que gmaps.js est récupéré avec le type MIME text/plain et non avec le type MIME text/javascript. Ceci est du au service https://raw.github.com/ qui envoie tout en plain text, indépendamment du contenu.

Pour résoudre le problème il faut soit récupérer le fichier et l'intégrer dans l'arborescence, soit passer par le service https://rawgithub.com/.

Référence : https://rawgithub.com/

from brownbaglunch.

fsarradin avatar fsarradin commented on June 28, 2024

Fonctionne en passant par https://rawgithub.com/

Commit: 31b0e7b

from brownbaglunch.

Related Issues (20)

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.