Tag: javascript

  • Cypress E2E testing best practices + gotchas

    Cypress E2E testing best practices + gotchas Cypress is a new testing framework that we just moved to, so it is common to have growing pains and learning the ins and outs as we work with it more. Here are some common practices that we found to prevent any flakiness in the tests. Always clean…

  • Why is toggling a search box in a header so difficult in Angular 2?

    In Angular 2 I have the following pseduocode… … As you can see I have a header with a search form container that has the class ‘visible’ when the variable ‘showSearch’ is true, and ‘invisible’ otherwise. As a component by itself with this html, this works fine. When the user clicks the search icon showSearch…

  • Unit Tests in Angular 2

    Recently at my new company, Spigit, I’ve started on working on unit testing. Now, previously I’ve done unit testing and end to end testing using NighwatchJS at Walmart Labs. And now with my new project, I have to use Angular 2. After working with Angular 2 for a few months now and ReactJS last year,…

  • Javascript Framework/Library Reference

    Base libraries (animation, dom manipulation, event handling, ajax, utility) jQuery (this library is the most popular base library) Zepto Dojo Prototype MooTools Utility Libraries Underscore Lodash Sizzle Modernizr (feature detection) Yepnope (conditional loader) MVC Frameworks Angular Ember Backbone SproutCore ExtJS Batman Spine Meteor Exoskeleton ActiveJS StapesJS JS MVC View/Data binding frameworks Knockout CanJS React Rivets…

  • Google Glass Unboxing and Review, Jasmine-Jquery+SquireJS example

    Google Glass Review I just got my Google Glass Explorer 2.0 edition in not that long ago, and I know alot of people are curious about how this gadget works, so I’ve put up a video of it (an unboxing one, and a review). httpv://youtu.be/NPBNNwQB_Ss httpv://youtu.be/RHg-bnx7r3A Example client side Jasmine unit test using the jasmine-jquery…

  • Interesting gadgets, JS Frameworks, Libraries, Tech Links, Tech Articles

    Cool past gadgets Sony Rolly Sony P series Golden-i headsets Ultra Mobile PC Samsung Q1 Sony CLIE PEG-UX50 HP IPAQ HP Touchsmart TX2 Dell XPS M2010 Sony P Tablet Oakley THUMP 2 Sony Mylo Nokia N810 HTC Shift Handheld PCs HP Jornada MM2Go Sony Vaio Duo Danger Hiptop/T-mobile Sidekick Palm Treo (the first smartphone) PDas…