Git Product home page Git Product logo

justjs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

akashsoni01

justjs's Issues

Overrode my init() function :(

This framework broke my code! I wrote an init() function, and everything was working. I wanted to use your library, so I included it after my include script, and it called my function too early and then overrode the whole thing so I couldn't even add a checking condition so I could re-run it again later at the proper time!

Breaks DogeLib.coffee!

I've been trying to work JustJS into my latest project involving DogeLib.coffee. However, when I added JustJS, my page broke horribly!

Steps to Reproduce

JustJS version c225687.

DogeLib.coffee

console.log = (_msg) -> 
  window.onload = ->
    document.body.innerHTML = "<img src=\"https://upload.wikimedia.org/wikipedia/en/5/5f/Original_Doge_meme.jpg\">"

index.html

<!doctype html>
<html>
  <head>
    <title>Binks</title>
    <script src="DogeLib.js"></script>
    <script src="just.js"></script>
  </head>
  <body>
    <h1>A serious literary analysis of Jar Jar Binks</h1>
    <p>To be continued...</p>
  </body>
</html>

Expected behavior:

I expected to see my literary analysis of Jar Jar Binks.

Actual behavior:

I saw a doge! It was a truly horrifying experience!


I have no idea why this bug is happening (I've already spent hours troubleshooting the issue to no avail), but I really hope you can fix it. Otherwise, I don't think I'll ever be able to return to the purity of using just JavaScript. :(

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.