dzervoudakes / grindstonejs Goto Github PK
View Code? Open in Web Editor NEWQuick and dirty DOM manipulation.
License: MIT License
Quick and dirty DOM manipulation.
License: MIT License
Even when the API returns contentType = application/json I need to parse the response with JSON.parse to be able to access it. From jQuery I'm used to specify a dataType property for the $.ajax() method.
I tried to pull in grindstone from unpkg.com like this:
<script src="https://unpkg.com/grindstone@latest/dist/grindstone.js"></script>
which fails because the file is named grindstone_v3.1.1.js
instead of grindstone.js
if you compare how vue.js does this for example, you'll see the problem:
<script src="https://unpkg.com/vue@latest/dist/vue.js"></script>
will work, because the file in dist does not contain any version number
any possibility to change that?
Would be nice to have something like that, pure js:
while(el.firstChild) el.removeChild(el.firstChild); // whit el = an object
or similar with grindstone
$(el).html('')
but this has the issue of possible memory leaks with data and added properties from nodes that are replaced by an empty string
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.