Comments (3)
Why not create a PR?
from feature.js.
on mootools it would be like this:
function cookieTest() {
var rnd=Number.random(1000000, 9999999);
var myCookie=Cookie.write('check', rnd);
var test=Cookie.read('check');
if ( typeOf(test)=='null' ) { // cookie off
return false;
}
if (rnd!=test) { // wrong cookie given
return false;
}
myCookie.dispose(); // rem
return true;
}
=)
from feature.js.
I'm not sure that that is the purpose of this library. All the tests offered in this library correspond to the support of features, not if features are enabled or disabled.
I'm curious of @viljamis's thoughts on this one.
from feature.js.
Related Issues (20)
- websocket support? HOT 1
- No mention of browser support? HOT 3
- v1.0.1 is missing on npm HOT 2
- Would using getters make it faster? HOT 2
- comma or semi-colon? HOT 1
- Check for window for isomorphic JS
- Check for window to support Isomorphic JS HOT 3
- false negative for <img> sizes parameter in Safari HOT 2
- IE has touch supported? HOT 2
- Use of util.old contradicts the point of feature detection HOT 1
- <svg>.scrollIintoView not supported on Edge could this be tested? HOT 1
- WebGL check fails on Windows 7 Chrome 55 HOT 2
- Is this repository still maintained? HOT 4
- Gulp warnings on install HOT 1
- Gulp warnings on install
- Update tests/index.html to be clearer
- Access is denied for this document
- Depreciation of navigator.userAgent, navigator.appVersion, and navigator.platform in Chrome HOT 2
- Any plan to support PWA capability detection?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feature.js.