adamcollins / justjs Goto Github PK
View Code? Open in Web Editor NEWA lightweight library that allows you to get back to JavaScript's basics by just being JavaScript.
A lightweight library that allows you to get back to JavaScript's basics by just being JavaScript.
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!
My Demands:
I've been trying to work JustJS
into my latest project involving DogeLib.coffee
. However, when I added JustJS
, my page broke horribly!
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. :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.