Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
removing unnecessary lic. text before mobile section
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Apr 4, 2012
1 parent be0f344 commit 0051fbe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Binary file modified backbone-fundamentals.epub
Binary file not shown.
4 changes: 1 addition & 3 deletions backbone-fundamentals.rtf
Expand Up @@ -2951,8 +2951,6 @@ Infinite Pagination (Backbone.Paginator.requestPager())
<option value="ShortName">Alphabetical</option> \line
</select> \line
</span> \par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 License\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Copyright \u194?\u169? 2012 Addy Osmani.\u194? Licensed under the MIT license.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Backbone & jQuery Mobile\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs28 Resolving the routing conflicts\par}
{\pard \ql \f0 \sa180 \li0 \fi0 The first major hurdle developers typically run into when building Backbone applications with jQuery Mobile is that both frameworks have their own opinions about how to handle application navigation.\par}
Expand Down Expand Up @@ -3018,7 +3016,7 @@ Backbone fundamentals
{\pard \ql \f0 \sa180 \li0 \fi0 If you open up Flickly in a desktop browser, you\u8217'll get an image search UI that\u8217's modeled on Google.com, however, review the components (buttons, text inputs, tabs) on the page for a moment. The desktop UI doesn\u8217't look anything like a mobile application yet I\u8217'm still using jQM for theming mobile components; the tabs, date-picker, sliders - everything in the desktop UI is re-using what jQM would be providing users on mobile devices. Thanks to some media queries, the desktop UI can make optimal use of whitespace, expanding component blocks out and providing alternative layouts whilst still making use of jQM as a component framework.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 The benefit of this is that I don\u8217't need to go pulling in jQuery UI separately to be able to take advantage of these features. Thanks to the recent ThemeRoller my components can look pretty much exactly how I would like them to and users of the app can get a jQM UI for lower-resolutions and a jQM-ish UI for everything else.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 The takeaway here is just to remember that if you\u8217're not (already) going through the hassle of conditional script/style loading based on screen-resolution (using matchMedia.js etc), there are simpler approaches that can be taken to cross-device component theming.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 # Unit Testing\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Unit Testing\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 Unit Testing Backbone Applications With Jasmine\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Introduction\par}
{\pard \ql \f0 \sa180 \li0 \fi0 One definition of unit testing is the process of taking the smallest piece of testable code in an application, isolating it from the remainder of your codebase and determining if it behaves exactly as expected. In this section, we\u8217'll be taking a look at how to unit test Backbone applications using a popular JavaScript testing framework called {\field{\*\fldinst{HYPERLINK "http://pivotal.github.com/jasmine/"}}{\fldrslt{\ul
Expand Down
4 changes: 1 addition & 3 deletions index.html
Expand Up @@ -2774,8 +2774,6 @@ <h2 id="viewstemplates">Views/Templates</h2>
<span class="kw">&lt;option</span><span class="ot"> value=</span><span class="st">&quot;ShortName&quot;</span><span class="kw">&gt;</span>Alphabetical<span class="kw">&lt;/option&gt;</span>
<span class="kw">&lt;/select&gt;</span>
<span class="kw">&lt;/span&gt;</span> </code></pre>
<h2 id="license">License</h2>
<p>Copyright © 2012 Addy Osmani. Licensed under the MIT license.</p>
<h2 id="backbone-jquery-mobile">Backbone &amp; jQuery Mobile</h2>
<h3 id="resolving-the-routing-conflicts">Resolving the routing conflicts</h3>
<p>The first major hurdle developers typically run into when building Backbone applications with jQuery Mobile is that both frameworks have their own opinions about how to handle application navigation.</p>
Expand Down Expand Up @@ -2839,7 +2837,7 @@ <h3 id="jquery-mobile-going-beyond-mobile-application-development">jQuery Mobile
<p>If you open up Flickly in a desktop browser, you'll get an image search UI that's modeled on Google.com, however, review the components (buttons, text inputs, tabs) on the page for a moment. The desktop UI doesn't look anything like a mobile application yet I'm still using jQM for theming mobile components; the tabs, date-picker, sliders - everything in the desktop UI is re-using what jQM would be providing users on mobile devices. Thanks to some media queries, the desktop UI can make optimal use of whitespace, expanding component blocks out and providing alternative layouts whilst still making use of jQM as a component framework.</p>
<p>The benefit of this is that I don't need to go pulling in jQuery UI separately to be able to take advantage of these features. Thanks to the recent ThemeRoller my components can look pretty much exactly how I would like them to and users of the app can get a jQM UI for lower-resolutions and a jQM-ish UI for everything else.</p>
<p>The takeaway here is just to remember that if you're not (already) going through the hassle of conditional script/style loading based on screen-resolution (using matchMedia.js etc), there are simpler approaches that can be taken to cross-device component theming.</p>
<h2 id="unit-testing"># <a name="testing">Unit Testing</a></h2>
<h2 id="unit-testing"><a name="testing">Unit Testing</a></h2>
<h1 id="unit-testing-backbone-applications-with-jasmine"><a name="unittestingjasmine">Unit Testing Backbone Applications With Jasmine</a></h1>
<h2 id="introduction-2">Introduction</h2>
<p>One definition of unit testing is the process of taking the smallest piece of testable code in an application, isolating it from the remainder of your codebase and determining if it behaves exactly as expected. In this section, we'll be taking a look at how to unit test Backbone applications using a popular JavaScript testing framework called <a href="http://pivotal.github.com/jasmine/">Jasmine</a> from Pivotal Labs.</p>
Expand Down
5 changes: 1 addition & 4 deletions index.md
Expand Up @@ -3890,9 +3890,6 @@ which we use with a template like this to generate the necessary pagination link
```
## License
Copyright © 2012 Addy Osmani. Licensed under the MIT license.
[1]: http://github.com/addyosmani/backbone.paginator
[2]: http://addyosmani.github.com/backbone.paginator/
Expand Down Expand Up @@ -4007,7 +4004,7 @@ The benefit of this is that I don't need to go pulling in jQuery UI separately t
The takeaway here is just to remember that if you're not (already) going through the hassle of conditional script/style loading based on screen-resolution (using matchMedia.js etc), there are simpler approaches that can be taken to cross-device component theming.
# <a name="testing">Unit Testing</a>
<a name="testing">Unit Testing</a>
---
#<a name="unittestingjasmine">Unit Testing Backbone Applications With Jasmine</a>
Expand Down

0 comments on commit 0051fbe

Please sign in to comment.