Jquery Programming Cookbook I

Total Page:16

File Type:pdf, Size:1020Kb

Jquery Programming Cookbook I jQuery Programming Cookbook i jQuery Programming Cookbook jQuery Programming Cookbook ii Contents 1 Add/Remove Class Example 1 1.1 Basic Document Setup................................................1 1.2 .addClass() and .removeClass() Methods.......................................2 1.2.1 Add Class...................................................2 1.2.2 Remove Class.................................................4 1.3 Adding or Removing Classes on Event Listeners..................................4 1.3.1 Toggle Classes on Event Listeners......................................5 1.4 Conclusion......................................................5 1.5 Download.......................................................6 2 UI Datepicker 7 2.1 Basic Setup & Application..............................................7 2.1.1 Document Setup...............................................7 2.1.2 Default Functionality.............................................8 2.2 Options and Examples................................................8 2.2.1 Animations..................................................8 2.2.2 Dates in Other Months............................................9 2.2.3 Display Button Bar..............................................9 2.2.4 Display Month and Year Menus....................................... 10 2.2.5 Display Multiple Months........................................... 11 2.2.6 Select a Date Range............................................. 11 2.2.7 Icon Trigger.................................................. 12 2.2.8 Format Date................................................. 12 2.3 Conclusion...................................................... 13 2.4 Download....................................................... 13 3 jQuery and AJAX 14 3.1 An Introduction to AJAX!.............................................. 14 3.1.1 How we came here?............................................. 14 3.1.2 Getting to Know AJAX Better........................................ 15 3.1.3 AJAX Benefits................................................ 16 jQuery Programming Cookbook iii 3.2 Implementation.................................................... 16 3.2.1 Basic Document Setup............................................ 16 3.2.2 Ajax Declaration............................................... 17 3.2.3 A Real-World AJAX Example!........................................ 18 3.3 AJAX Settings.................................................... 19 3.3.1 accepts.................................................... 19 3.3.2 async..................................................... 20 3.3.3 beforeSend.................................................. 20 3.3.4 cache..................................................... 20 3.3.5 complete................................................... 20 3.3.6 contents.................................................... 20 3.3.7 contentType.................................................. 20 3.3.8 context.................................................... 21 3.3.9 data...................................................... 21 3.3.10 data...................................................... 21 3.3.11 dataType................................................... 21 3.3.12 error...................................................... 22 3.3.13 global..................................................... 22 3.3.14 method.................................................... 22 3.3.15 success.................................................... 22 3.3.16 timeout.................................................... 22 3.3.17 type...................................................... 23 3.3.18 url....................................................... 23 3.3.19 username................................................... 23 3.3.20 password................................................... 23 3.4 Where to use AJAX?................................................. 23 3.5 Conclusion...................................................... 24 3.6 Download....................................................... 24 4 File Upload 25 4.1 Plugin Demo and Features.............................................. 25 4.1.1 Video Demo #1 - Single & Multiple Files Upload.............................. 25 4.1.2 Video Demo #2 - Drag & Drop File Upload................................. 25 4.1.3 Features.................................................... 25 4.2 Basic Plugin Setup.................................................. 26 4.2.1 HTML Setup................................................. 26 4.2.2 Display Upload Progress........................................... 27 4.2.3 Tie a file to an element node during the life cycle of an upload....................... 27 4.2.4 Start Uploads with a button click....................................... 27 jQuery Programming Cookbook iv 4.3 Requirements..................................................... 28 4.3.1 Mandatory Requirements........................................... 28 4.3.2 Optional Requirements............................................ 28 4.4 Browsers....................................................... 28 4.4.1 Desktop Browsers.............................................. 28 4.4.2 Mobile Browsers............................................... 29 4.5 Conclusion...................................................... 29 4.6 Download....................................................... 29 5 Drag and Drop 30 5.1 Basic Setup & Application.............................................. 30 5.2 Customized Draggable Elements........................................... 31 5.2.1 Constraining Movement........................................... 31 5.2.2 Cursor Styles over Draggable Element.................................... 32 5.2.3 Revert Draggable Element Position..................................... 32 5.2.4 Snap to Element or Grid........................................... 33 5.3 An Advanced Approach................................................ 33 5.4 Conclusion...................................................... 33 5.5 Download....................................................... 34 6 UI Autocomplete 35 6.1 Document Setup.................................................... 35 6.2 Basic Autocomplete Input Field........................................... 36 6.3 Autocomplete Options................................................ 37 6.3.1 AppendTo................................................... 37 6.3.2 Delay..................................................... 38 6.3.3 Disabled................................................... 38 6.3.4 minLength.................................................. 38 6.3.5 Source.................................................... 39 6.4 Conclusion...................................................... 39 6.5 Download....................................................... 39 7 CSS Background Image 40 7.1 Basic Setup...................................................... 40 7.1.1 Initial Document Setup............................................ 40 7.1.2 Understanding the .css() method....................................... 41 7.2 Background Image using .css()............................................ 42 7.3 Conclusion...................................................... 44 7.4 Download....................................................... 44 jQuery Programming Cookbook v 8 Disable Button 45 8.1 Basic Setup...................................................... 45 8.2 Disabling a Button with jQuery............................................ 46 8.2.1 Disabled as an Initial State of the Button................................... 46 8.2.2 Disabling a Button on Click......................................... 46 8.2.3 Disabling a Button after Form Submission.................................. 47 8.3 Conclusion...................................................... 47 8.4 Download....................................................... 48 jQuery Programming Cookbook vi Copyright(c) Exelixis MediaP.C., 2015 All rights reserved. Without limiting the rights under copyright reserved above, no part of this publication may be reproduced, stored or introduced intoa retrieval system, or transmitted, in any form or by any means(electronic, mechanical, photocopying, recording or otherwise), without the prior written permission of the copyright owner. jQuery Programming Cookbook vii Preface jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. jQuery is the most popular JavaScript library in use today, with installation on 65% of the top 10 million highest-trafficked sites on the Web. jQuery’s syntax is designed to make it easier to navigate a document, select DOM elements, create animations, handle events, and develop Ajax applications. jQuery also provides capabilities for developers to create plug-ins on top of the JavaScript library. This enables developers to create abstractions for low-level interaction and animation, advanced effects and high-level, theme-able widgets. The modular approach to the jQuery library allows the creation of powerful dynamic web pages and web applications. (Source: https://en.wikipedia.org/wiki/JQuery) In this ebook, we provide a compilation of jQuery based examples that will help you kick-start your own web projects. We cover a wide range of topics, from UI Widgets, to Drag and Drop functionality and CSS manipulation. With our straightforward tutorials, you will be able to get your own projects up and running in minimum time. jQuery Programming Cookbook viii About the Author Fabio is a
Recommended publications
  • Machine Learning in the Browser
    Machine Learning in the Browser The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:38811507 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Other Posted Material, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#LAA Machine Learning in the Browser a thesis presented by Tomas Reimers to The Department of Computer Science in partial fulfillment of the requirements for the degree of Bachelor of Arts in the subject of Computer Science Harvard University Cambridge, Massachusetts March 2017 Contents 1 Introduction 3 1.1 Background . .3 1.2 Motivation . .4 1.2.1 Privacy . .4 1.2.2 Unavailable Server . .4 1.2.3 Simple, Self-Contained Demos . .5 1.3 Challenges . .5 1.3.1 Performance . .5 1.3.2 Poor Generality . .7 1.3.3 Manual Implementation in JavaScript . .7 2 The TensorFlow Architecture 7 2.1 TensorFlow's API . .7 2.2 TensorFlow's Implementation . .9 2.3 Portability . .9 3 Compiling TensorFlow into JavaScript 10 3.1 Motivation to Compile . 10 3.2 Background on Emscripten . 10 3.2.1 Build Process . 12 3.2.2 Dependencies . 12 3.2.3 Bitness Assumptions . 13 3.2.4 Concurrency Model . 13 3.3 Experiences . 14 4 Results 15 4.1 Benchmarks . 15 4.2 Library Size . 16 4.3 WebAssembly . 17 5 Developer Experience 17 5.1 Universal Graph Runner .
    [Show full text]
  • CSS Browser Selector Plus: a Javascript Library to Support Cross-Browser Responsive Design Richard Duchatsch Johansen Talita C
    CSS Browser Selector Plus: A JavaScript Library to Support Cross-browser Responsive Design Richard Duchatsch Johansen Talita C. Pagani Britto Cesar Augusto Cusin W3C Accessibility WG Member and Assistant Coordinator Professor at Faculdade Paraíso do Senior Front-end Developer at of Educational Projects - MStech Ceará and W3C Accessibility WG Eventials – Rua Itapaiúna, 2434 Rua Joaquim Anacleto Bueno, 1-42 Member – Rua da Conceição, 1228 São Paulo – SP – Brazil, Zip Code Bauru – SP – Brazil, Juazeiro do Norte – CE – Brazil, 05707-001 Zip Code 17047-281 Zip Code 63010-465 +55 14 9711-7983 +55 14 3235-5500 +55 15 8100-4466 [email protected] [email protected] [email protected] ABSTRACT means you can use CSS Media Queries to tweak a CSS for a Developing websites for multiples devices have been a rough task mobile devices, printer or create a responsive site. for the past ten years. Devices features change frequently and new Media queries is an extension to the @media (or media=”” devices emerge every day. Since W3C introduced media queries attribute, in <link> tag) specification on CSS, allowing in CSS3, it’s possible to developed tailored interfaces for multiple declaration of conditional queries expressions to detect particular devices using a single HTML document. CSS3 media queries media features, such as viewport width, display color, orientation have been used to support adaptive and flexible layouts, however, and resolution [1], as shown on Table 1. it’s not supported in legacy browsers. In this paper, we present CSS Browser Selector Plus, a cross-browser alternative method Table 1.
    [Show full text]
  • Onclick Event-Handler
    App Dev Stefano Balietti Center for European Social Science Research at Mannheim University (MZES) Alfred-Weber Institute of Economics at Heidelberg University @balietti | stefanobalietti.com | @nodegameorg | nodegame.org Building Digital Skills: 5-14 May 2021, University of Luzern Goals of the Seminar: 1. Writing and understanding asynchronous code: event- listeners, remote functions invocation. 2. Basic front-end development: HTML, JavaScript, CSS, debugging front-end code. 3. Introduction to front-end frameworks: jQuery and Bootstrap 4. Introduction to back-end development: NodeJS Express server, RESTful API, Heroku cloud. Outputs of the Seminar: 1. Web app: in NodeJS/Express. 2. Chrome extensions: architecture and examples. 3. Behavioral experiment/survey: nodeGame framework. 4. Mobile development: hybrid apps with Apache Cordova, intro to Ionic Framework, progressive apps (PWA). Your Instructor: Stefano Balietti http://stefanobalietti.com Currently • Fellow in Sociology Mannheim Center for European Social Research (MZES) • Postdoc at the Alfred Weber Institute of Economics at Heidelberg University Previously o Microsoft Research - Computational Social Science New York City o Postdoc Network Science Institute, Northeastern University o Fellow IQSS, Harvard University o PhD, Postdoc, Computational Social Science, ETH Zurich My Methodology Interface of computer science, sociology, and economics Agent- Social Network Based Analysis Models Machine Learning for Optimal Experimental Experimental Methods Design Building Platforms Patterns
    [Show full text]
  • Metropolia-Thesis.Pdf
    Joni Korpi Adaptive Web Design As applied to the design process of a web application Metropolia University of Applied Sciences Bachelor of Engineering Media Technology Bachelor’s Thesis 16.3.2012 Abstract Author Joni Korpi Title Adaptive Web Design As applied to the design process of a web application Number of Pages 36 pages Date 18.3.2012 Degree Bachelor of Engineering Degree Programme Media Technology Specialisation option Digital Media Instructors Aarne Klemetti, Senior Lecturer Harri Airaksinen, Principal Lecturer This thesis explored the usage of adaptive web design techniques in the design process of a reservation and inventory management web application, New Reserve. It attempted to uncover issues a designer is likely to face when moving from a tradi- tional web design process to an adaptive one. Most issues uncovered were related to keeping visual design appealing and attempt- ing to support multiple input methods, such as touch screens and mice, at the same time. Using a fluid grid for visual design was found to be difficult, as they caused problems when elements start stretching beyond their optimal maximum dimensions, and when element dimensions are determined in a mix of percentage units and absolute units. Intentionally leaving empty space in wide designs and using the alternative "border-box" model were found to alleviate these problems. Using the "Mobile First" approach for design was found to be recommended, as the amount of mobile internet users is set to overtake desktop internet users very soon. The approach also helps in keeping designs cruft-free. Making images adapt to mo- bile sizes and bandwidth restrictions was found to be difficult, but there is hope for a standards-based technique to deal with this in the near future.
    [Show full text]
  • RESPONSIVE IMAGES Comparing Techniques for Implementing Responsive Images to Websites
    rik en v H d a pa ka ll s M a RESPONSIVE IMAGES Comparing techniques for implementing responsive images to websites Bachelor Degree Project in Computer Science 30 ECTS Spring term 2014 Jafet Bjarkar Björnsson Supervisor: Jana Rambusch Examiner: Henrik Gustavsson Abstract This thesis explores responsive images for websites, i.e., content images that respond to users display size, pixel density and bandwidth. We look into responsive web design and how it is related to responsive images. Different responsive image techniques are discussed and various use cases for responsive images are explored along with technologies that are needed to implement responsive images. A testing website is built and responsive image techniques are applied one by one, tested and compared and its effect on the websites load time is measured. The process of implementing the techniques is described with code examples and images. The results indicate that responsive images can certainly have positive effect on loading time of a website. Weather or not responsive images should be implemented depends on how much image data the website has and how fast the Internet connection is. Websites with more images can certainly profit from using responsive image techniques, especially if only slower bandwidths are available. Keywords: responsive, images, mobile, performance, HTML5, CSS3 Table of Contents 1 Introduction .......................................................................................................... 1 2 Background .........................................................................................................
    [Show full text]
  • Customizing Modernizr
    www.allitebooks.com Learning Modernizr Create forward-compatible websites using feature detection features of Modernizr Adam Watson BIRMINGHAM - MUMBAI www.allitebooks.com Learning Modernizr Copyright © 2012 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: December 2012 Production Reference: 1171212 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78216-022-9 www.packtpub.com Cover Image by J.Blaminsky ([email protected]) www.allitebooks.com Credits Author Project Coordinator Adam Watson Shraddha Bagadia Reviewers Proofreader Chetankumar Akarte Aaron Nash Ben Fhala Michelle Williamson Indexers Hemangini Bari Acquisition Editor Rekha Nair Wilson D'Souza Graphics Commissioning Editor Aditi Gajjar Meeta Rajani Maria D'souza Production Coordinator Prachali Bhiwandkar Technical Editor Nitee Shetty Cover Work Prachali Bhiwandkar Copy Editors Vrinda Amberkar Alida Paiva www.allitebooks.com About the Author Adam Watson began life as a guitar maker but quickly transitioned into tech after landing a irmware-testing gig at Hewlett Packard.
    [Show full text]
  • Building Responsive Websites
    HTML5 and CSS3: Building Responsive Websites Design robust, powerful, and above all, modern websites across all manner of devices with ease using HTML5 and CSS3 A course in three modules BIRMINGHAM - MUMBAI HTML5 and CSS3: Building Responsive Websites Copyright © 2016 Packt Publishing All rights reserved. No part of this course may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this course to ensure the accuracy of the information presented. However, the information contained in this course is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this course. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this course by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Published on: October 2016 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78712-481-3 www.packtpub.com Credits Authors Content Development Editor Thoriq Firdaus Amedh Pohad Ben Frain Benjamin LaGrone Graphics Kirk D’Penha Reviewers Saumya Dwivedi Production Coordinator Deepika Naik Gabriel Hilal Joydip Kanjilal Anirudh Prabhu Taroon Tyagi Esteban S. Abait Christopher Scott Hernandez Mauvis Ledford Sophie Williams Dale Cruse Ed Henderson Rokesh Jankie Preface Responsive web design is an explosive area of growth in modern web development due to the huge volume of different device sizes and resolutions that are now commercially available.
    [Show full text]
  • Web Components— What's the Catch?
    Web Components— What’s the Catch? TJ VanToll | @tjvantoll Kendo UI jQuery UI UI libraries are seen as the ideal use case for web components Proof-of-concept rewrite of a few jQuery UI widgets to use web components hps://github.com/tjvantoll/ui-web-components Web components’ public image • “[T]he Web Components revoluOon” – hEp://webcomponents.org/presentaons/polymer-and- the-web-components-revoluOon-at-io/ • “Web components are a game changer” – hEp://webcomponents.org/presentaons/polymer-and- web-components-change-everything-you-know-about-web- development-at-io/ • “Web Components Are The Future Of Web Development” – http://techcrunch.com/2013/05/19/google- believes-web-components-are-the-future-of- web-development/ Web components’ public image • “A Tectonic ShiW for Web Development” – hEps://developers.google.com/events/io/2013/ sessions/318907648 • “Join the Web Components revoluOon” – hEp://www.ibm.com/developerworks/library/wa- polymer/ • “Web Components usher in a new era of web development” – https://www.polymer-project.org/ Web components’ public image • “Web Components - A Quantum Leap in Web Development” – hEp://lanyrd.com/2014/qconsf/sddqc/ • “The Dawn of the Reusable Web” – hEp://www.codemash.org/session/the-dawn-of-the- reusable-web-diving-into-web-components/ • “Web Components are ushering in a HTML renaissance” – hEp://addyosmani.com/blog/video-componenOze- the-web-talk-from-lxjs/ The catch • Polyfilling shadow DOM • Resolving HTML import dependencies • Changing form elements’ UI • Browser support The catch • Polyfilling shadow DOM • Resolving HTML import dependencies • Changing form elements’ UI • Browser support Shadow DOM (nave behavior in Chrome) Shadow DOM (polyfilled behavior in Safari) Shimming DOM APIs https://github.com/webcomponents/webcomponentsjs/blob/4c5f21610c6cea02c74beaa3a25cd8075807ce31/src/ ShadowDOM/querySelector.js#L193-209 Shim all the things! https://github.com/Polymer/ShadowDOM/tree/master/src/wrappers Polyfilling CSS selectors • The shadow DOM specificaon introduces a lot of new CSS things.
    [Show full text]
  • Responsive Website in Modern Development: Approach, Designing, Testing and Analysis
    Journal of Web Development and Web Designing Volume 5 Issue 1 Responsive Website in Modern Development: Approach, Designing, Testing and Analysis Mu’awuya Dalhatu*1, Aliyu Sani Ahmad1, Babando Abdul Rashid Aliyu2, Aliyu Umar3 1Lecturer, Department of Computer Science, Federal University Wukari, Taraba State, Nigeria 2Senior Program Analyst, Department of ICT Unit of Advanced Manufacturing Technology Program Jalingo, Taraba State, Nigeria 3Lecturer, Department of Mathematical Sciences, Taraba State University Jalingo, Taraba State, Nigeria INFO ABSTRACT Corresponding Author Being in a digital era where human depends on web E-mail Id: applications to survive; there are needs to understand *[email protected] websites and applications. The web applications are of different types, static sites do not provide user DOI: satisfaction while dynamic website fair, in this modern time technology innovation provide us with an advanced method of developing a website to accommodate Cite as: emerging hardware and provide a great user experience. This website is called Responsive Website. Responsive Website is the approach that suggests that design and development should respond to a user’s behaviour and environment based on screen size, platform and orientation. The practice consists of a mix of flexible grids and layouts, images and intelligent use of CSS media queries. As the user switches from their laptop, iPad to mobile, the website should automatically switch to accommodate for resolution, image size and scripting abilities. This paper presents the approaches involved in designing a responsive website in modern perspectives, it also demonstrates testing to investigate the performance of various design approaches or methods as well as the analysis of the performance result on each design approach using a google chrome developer tool.
    [Show full text]
  • Javascript for Web 2.0 Development Introduction
    "Web Age Speaks!" Webinar Series JavaScript for Web 2.0 Development Introduction Mikhail Vladimirov Director, Curriculum Architecture [email protected] Web Age Solutions Providing a broad spectrum of regular and customized training classes in programming, system administration and architecture to our clients across the world for over ten years ©WebAgeSolutions.com 2 Overview of Talk Overview of ECMAScript 6 release Hybrid Mobile Web Development Overview of Popular JavaScript libraries: jQuery AngularJS Modernizr _Underscore.js ©WebAgeSolutions.com 3 JavaScript for Web 2.0 Development Some JavaScript Facts Who Owns JavaScript Name The "JavaScript" name is a trademark now owned by Oracle Corporation (US Patent and Trademark Office, copyright entry #75026640). ©WebAgeSolutions.com 5 ECMAScript… JavaScript is un-related to Java It was originally designed by Netscape to add scripting to their browser. It was called 'LiveScript'. Re-naming it to JavaScript was a marketing trick to get more attention to it It is more of a “Lisp in C's Clothing” with elements of functional programming (http://javascript.crockford.com/javascript.html ) Each browser’s JavaScript engine is an attempt to implement ECMAScript standard (first draft in 1997) Well-known implementations are JavaScript, JScript and ActionScript ©WebAgeSolutions.com 6 ECMAScript Release 6 (Work in Progress) Classes and modules ( import {func1} from ‘js/mylib’ ) Better variable scoping (let for the new block scope) Multiple return values (return {x, y})
    [Show full text]
  • Third Party Software Licensing Agreements RL6 6.8
    Third Party Software Licensing Agreements RL6 6.8 Updated: April 16, 2019 www.rlsolutions.com m THIRD PARTY SOFTWARE LICENSING AGREEMENTS CONTENTS OPEN SOURCE LICENSES ................................................................................................................. 10 Apache v2 License ...................................................................................................................... 10 Apache License ................................................................................................................. 11 BSD License ................................................................................................................................ 14 .Net API for HL7 FHIR (fhir-net-api) .................................................................................. 15 ANTLR 3 C# Target ........................................................................................................... 16 JQuery Sparkline ............................................................................................................... 17 Microsoft Ajax Control Toolkit ............................................................................................ 18 Mvp.Xml ............................................................................................................................. 19 NSubstitute ........................................................................................................................ 20 Remap-istanbul ................................................................................................................
    [Show full text]
  • Software Summary List.Docx.Docx
    This Notice.txt file contains certain notices Qualcomm Technologies, Inc. (“QTI”) is required to provide with certain software components. Notwithstanding anything in the notices in this file, your use of such software components together with the QTI software (“Software”) is subject to the terms of your separate license from QTI. Compliance with all copyright laws and software licenses included in this file are the responsibility of the user. Except as may be granted by separate express written agreement, this file provides no license to any patents, trademarks, copyrights, or other intellectual property of QTI or its affiliates. Software provided with this notice is NOT A CONTRIBUTION to any open source project. If alternative licensing is available for any of the components with licenses or attributions provided below, a license choice is made for receiving such code by QTI. Copyright (c) 2014 Qualcomm Technologies, Inc. All rights reserved. This software is developed using unmodified iOS SDK header files included in Apple’s iOS SDK and such use is not a Modification. Qualcomm is a trademark of Qualcomm Incorporated, registered in the United States and other countries. All Qualcomm Incorporated trademarks are used with permission. Other products and brand names may be trademarks or registered trademarks of their respective owners. // Created by Michael Frederick on 4/2/13. // Copyright (c) 2013 Frederick Development. All rights reserved. // /* * Copyright (c) 2012, Michael Frederick * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer.
    [Show full text]