hello everyone, i need a small favor from someone who can check my page on android mobile. the problem is i have a wigdet that is positioned as fixed. there are two in put fields which when focused the page scroll up without centering the focused input field to the center of the viewport. Code works fine on safari-iphone 5s and ie-windowsphone
hello everyone, i need a small favor from someone who can check my page on android mobile. the problem is i have a wigdet that is positioned as fixed. there are two in put fields which when focused the page scroll up without centering the focused input field to the center of the viewport. Code works fine on safari-iphone 5s and ie-windowsphone http://thekabir.in/onsitego-planlisting2017/index-mobile.html
click on the chat widget(bottom left) after the page loads click on get a call and click on name input field.
meh, I'm happy because template strings, promises, and lambdas, mostly, and I do agree that generators aren't a good idea unless everyone around you is very familiar with the patterns that come with it
@Ryan they might allow for better patterns and development in general, which is undisputably a good thing, but I'd still rather use native because of loadtime, not relying on other things, and just having a constant base that we can all use
if I learn, say, ThreeJS without knowing webgl or canvas, then if I won't have the library readily available (say I need to develop offline, or something else is wrong), I can still do things
I can just get on a computer and do things, without having to memorize urls to download things from or google stuff
or maybe I'll get into a company who's using a completely different library and they can't take loading another library as well, even if I don't know the tech they're using, I can always fall back to the thing that requires the least additional setup: whatever the browser already has available
I wanted to generate image of html dynamically, i used the following code for same:
convert-html-to-image-in-jquery-div-or-table-to-jpg-png
right this functionality is using two events, one is to generate image and second is used to download image. but i want to do it in one event, means when i...
I have consumed a lot of content on the subject and many users have shown proofs for predominately 3 methods 1 Node Clusters (Native) 2 nginx 3 Iptables my architecture is such that I will be using nginx on two level, first to distinguish between request made for different clients and secondly for load balancing (different servers) my this particular question is only for clusters etc for specific machine I am using nginx twice on top of it so obviously I wont use nginx again or I can use nginx and separate different individual servers running on machine
@ZicoPL Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@corvid Use less plugins. They are flexible and easy to use for a price - code size. jQuery stopped talking about lightweight as they added more and more IE fix into their code.
oh lol I've been at 10k for a while. Last years mod run I did a ton of cleanup stuff (hence the hold). Since then it's been a few updoots but mainly old stuff getting rep
@ZicoPL ofc the ajax returns a string ... check the string content. If it's a json string, use json parse. Or convert string to function. But why are you using ajax if the lib is in same node folder ? (import that lib by require)
@corvid Well, if you really want, something I have done before is to compress the minified code and decompress with on runtime. Big saves on size, but don't expect it to load quick.
@Luggage The gzip as implemented by web servers is not very efficient for compatibility reason. Now you can 7z your code and it'll save a lot more than the gzip.
@KarelG I use Content Security Policy and I'd block code from 'unsafe-inline' & 'unsafe-eval' but not for script with attribute 'nonce' so can import with this attribute?
I have a problem with react. If a user is logged-in and looks at component lets say /xyz and press log-out. After log-in again he is redirected to the same component /xyz. How can I prevent this? I´m using hashHistory. But found nothing useful currently
and I can´t update react-router and switch to something new
in index.html I used <script> tag with nounce attribute where add index.js. Here the problems is begin. In index.js i start from: ' $(document).ready(function($){ jQuery.noConflict();
@KarelG and after this i include library.js via ajax..
I know that null is an object with no attributes or functions.
However, I am confused that why console.log(null == false); and console.log(null == true); both return false.
What are the conversion rules between null and boolean?
@eric.dummy Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@shriek In js there are objects and there are non-objects. Strings are non-objects, despite having methods you cannot assign them properties or extend them or compare them as object.