Not found :(
22 |Sorry, but the page you were trying to view does not exist.
24 |It looks like this was the result of either:
25 |-
26 |
- a mistyped address 27 |
- an out-of-date link 28 |
├── .gitignore ├── INSTRUCTIONS-pandoc-ebooks.md ├── Makefile ├── README.md ├── _config.yml ├── backbone-fundamentals.epub ├── backbone-fundamentals.md ├── backbone-fundamentals.mobi ├── backbone-fundamentals.pdf ├── backbone-fundamentals.rtf ├── build ├── INSTRUCTIONS-pandoc-ebooks.md ├── author.html ├── head.html ├── metadata.xml ├── share.html ├── stats.html └── title.txt ├── chapters ├── 00-prelude.md ├── 01-introduction.md ├── 02-fundamentals.md ├── 03-internals.md ├── 04-exercise-1.md ├── 05-exercise-2.md ├── 06-extensions.md ├── 07-common-problems.md ├── 08-modular-development.md ├── 09-exercise-3.md ├── 10-pagination.md ├── 11-bbb.md ├── 12-mobile-applications.md ├── 13-unit-testing.md ├── 14-qunit.md ├── 15-sinonjs.md ├── 16-resources.md ├── 17-conclusions.md └── 18-appendix.md ├── epub.css ├── img ├── 3e5545.png ├── 7d4de12.png ├── 9df4.png ├── airbnb.png ├── backbone_mvc.fw.png ├── backbone_mvc.png ├── backbonejsorg.jpg ├── bbb.png ├── bbdevtools.jpg ├── bower.png ├── chapter10-1-1-1.png ├── chapter10-1-1.png ├── chapter10-1-2.png ├── chapter10-2-1.png ├── chapter10-2-2.png ├── chapter10-3-1.png ├── chapter10-3-2.png ├── chapter10-3-3.png ├── chapter10-3-4.png ├── chapter5-1.png ├── chapter5-10.png ├── chapter5-11.png ├── chapter5-12.png ├── chapter5-2.png ├── chapter5-3.png ├── chapter5-4.png ├── chapter5-5.png ├── chapter5-6.png ├── chapter5-7.png ├── chapter5-8.png ├── chapter5-9.png ├── clientPager.png ├── code-school.png ├── cover.jpg ├── devtools.png ├── disqus.png ├── flow.png ├── helpful.png ├── infinitepager.png ├── khan-academy.png ├── logo.jpg ├── marionette_todo0.png ├── marionette_todo1.png ├── oreilly.jpg ├── paginator-classes.png ├── paginator-client.png ├── paginator-dia.png ├── paginator-request.png ├── paginator-styling.png ├── paginator-styling2.png ├── paginator-ui.png ├── placeholder.png ├── rails_mvc.fw.png ├── rails_mvc.png ├── requestPager.png ├── todoapp.png ├── todocompleted.png ├── todoconsole.png ├── todoconsole2.png ├── todorouting.png ├── todos_a.png ├── todos_b.png ├── todos_c.png ├── todos_d.png ├── todos_e.png ├── todoview.png ├── walmart-mobile.png ├── webmvcflow_bacic.png ├── wireframe_e_commerce.png └── yeoman.png ├── index.html ├── index.md ├── metadata.xml ├── package.json ├── practicals ├── exercise-2 │ ├── package.json │ ├── server.js │ └── site │ │ ├── css │ │ ├── cupertino │ │ │ ├── images │ │ │ │ ├── ui-bg_diagonals-thick_90_eeeeee_40x40.png │ │ │ │ ├── ui-bg_flat_15_cd0a0a_40x100.png │ │ │ │ ├── ui-bg_glass_100_e4f1fb_1x400.png │ │ │ │ ├── ui-bg_glass_50_3baae3_1x400.png │ │ │ │ ├── ui-bg_glass_80_d7ebf9_1x400.png │ │ │ │ ├── ui-bg_highlight-hard_100_f2f5f7_1x100.png │ │ │ │ ├── ui-bg_highlight-hard_70_000000_1x100.png │ │ │ │ ├── ui-bg_highlight-soft_100_deedf7_1x100.png │ │ │ │ ├── ui-bg_highlight-soft_25_ffef8f_1x100.png │ │ │ │ ├── ui-icons_2694e8_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_3d80b3_256x240.png │ │ │ │ ├── ui-icons_72a7cf_256x240.png │ │ │ │ └── ui-icons_ffffff_256x240.png │ │ │ ├── jquery-ui-1.10.0.custom.css │ │ │ └── jquery-ui-1.10.0.custom.min.css │ │ └── screen.css │ │ ├── img │ │ └── placeholder.png │ │ ├── index.html │ │ └── js │ │ ├── app.js │ │ ├── collections │ │ └── library.js │ │ ├── lib │ │ ├── backbone.js │ │ ├── jquery-1.9.0.js │ │ ├── jquery-dateFormat-1.0.js │ │ ├── jquery-ui-1.10.0.custom.js │ │ └── underscore.js │ │ ├── models │ │ └── book.js │ │ └── views │ │ ├── book.js │ │ └── library.js ├── jasmine-koans │ ├── README.md │ ├── css │ │ ├── bootstrap.css │ │ ├── koansReporter.css │ │ └── todos.css │ ├── images │ │ └── destroy.png │ ├── index.html │ ├── js │ │ ├── ext │ │ │ ├── backbone.js │ │ │ ├── backbone.localStorage.js │ │ │ ├── jasmine-html.js │ │ │ ├── jasmine.css │ │ │ ├── jasmine.js │ │ │ ├── jquery.js │ │ │ ├── template.js │ │ │ └── underscore.js │ │ ├── koans │ │ │ ├── aboutCollections.js │ │ │ ├── aboutEvents.js │ │ │ ├── aboutModels.js │ │ │ ├── aboutViews.js │ │ │ └── finalSteps.js │ │ ├── koansReporter.js │ │ └── todos.js │ ├── specrunner.html │ ├── templates │ │ ├── app.html │ │ ├── item.html │ │ └── stats.html │ └── tooterApp.js ├── modular-mobile-app │ ├── app │ │ ├── app-build.js │ │ ├── app.js │ │ ├── libs │ │ │ ├── AMDbackbone-0.5.3.js │ │ │ ├── jQuery.ui.datepicker.js │ │ │ ├── jquery-1.7.1.js │ │ │ ├── jquery.mobile-1.0.js │ │ │ ├── jquery.ui.datepicker.mobile.js │ │ │ ├── json2.js │ │ │ ├── require │ │ │ │ ├── require-1.0.2.min.js │ │ │ │ └── text.js │ │ │ └── underscore-1.2.2.js │ │ ├── main.js │ │ ├── models │ │ │ ├── PhotoCollection.js │ │ │ ├── ResultCollection.js │ │ │ └── ResultEntry.js │ │ ├── routers │ │ │ └── workspace.js │ │ ├── templates │ │ │ ├── listview.html │ │ │ └── photoview.html │ │ ├── ui.js │ │ ├── utils.js │ │ └── views │ │ │ ├── appview.js │ │ │ ├── photoList.js │ │ │ └── resultList.js │ ├── css │ │ ├── custom_mobile_theme.css │ │ ├── jquery.ui.datepicker.css │ │ ├── style.css │ │ └── theme.css │ ├── img │ │ ├── bg_header.png │ │ ├── flickly.jpg │ │ ├── icons │ │ │ ├── 01-refresh.png │ │ │ ├── 02-redo.png │ │ │ ├── 03-loopback.png │ │ │ ├── 04-squiggle.png │ │ │ ├── 05-shuffle.png │ │ │ ├── 06-magnify.png │ │ │ ├── 07-map-marker.png │ │ │ ├── 08-chat.png │ │ │ ├── 09-chat-2.png │ │ │ ├── 10-medical.png │ │ │ ├── 100-coffee.png │ │ │ ├── 101-gameplan.png │ │ │ ├── 102-walk.png │ │ │ ├── 103-map.png │ │ │ ├── 104-index-cards.png │ │ │ ├── 105-piano.png │ │ │ ├── 106-sliders.png │ │ │ ├── 107-widescreen.png │ │ │ ├── 108-badge.png │ │ │ ├── 109-chicken.png │ │ │ ├── 11-clock.png │ │ │ ├── 110-bug.png │ │ │ ├── 111-user.png │ │ │ ├── 112-group.png │ │ │ ├── 113-navigation.png │ │ │ ├── 114-balloon.png │ │ │ ├── 115-bow-and-arrow.png │ │ │ ├── 116-controller.png │ │ │ ├── 117-todo.png │ │ │ ├── 118-coat-hanger.png │ │ │ ├── 119-piggy-bank.png │ │ │ ├── 12-eye.png │ │ │ ├── 120-headphones.png │ │ │ ├── 121-landscape.png │ │ │ ├── 122-stats.png │ │ │ ├── 123-id-card.png │ │ │ ├── 124-bullhorn.png │ │ │ ├── 125-food.png │ │ │ ├── 126-moon.png │ │ │ ├── 127-sock.png │ │ │ ├── 128-bone.png │ │ │ ├── 129-golf.png │ │ │ ├── 13-target.png │ │ │ ├── 130-dice.png │ │ │ ├── 131-tower.png │ │ │ ├── 132-ghost.png │ │ │ ├── 133-ufo.png │ │ │ ├── 134-viking.png │ │ │ ├── 135-hockeymask.png │ │ │ ├── 136-tractor.png │ │ │ ├── 137-presentation.png │ │ │ ├── 138-scales.png │ │ │ ├── 139-flags.png │ │ │ ├── 14-tag.png │ │ │ ├── 140-gradhat.png │ │ │ ├── 141-lamp.png │ │ │ ├── 142-wine-bottle.png │ │ │ ├── 143-liquor-bottle.png │ │ │ ├── 144-martini.png │ │ │ ├── 145-persondot.png │ │ │ ├── 146-gavel.png │ │ │ ├── 147-popsicle.png │ │ │ ├── 148-doghouse.png │ │ │ ├── 149-windmill.png │ │ │ ├── 15-tags.png │ │ │ ├── 150-sailboat.png │ │ │ ├── 151-telescope.png │ │ │ ├── 152-rolodex.png │ │ │ ├── 153-guitar.png │ │ │ ├── 154-necktie.png │ │ │ ├── 155-bowtie.png │ │ │ ├── 156-controlpad.png │ │ │ ├── 157-wrench.png │ │ │ ├── 158-wrench-2.png │ │ │ ├── 159-voicemail.png │ │ │ ├── 16-line-chart.png │ │ │ ├── 160-voicemail-2.png │ │ │ ├── 161-calculator.png │ │ │ ├── 162-receipt.png │ │ │ ├── 163-glasses-1.png │ │ │ ├── 164-glasses-2.png │ │ │ ├── 165-glasses-3.png │ │ │ ├── 166-newspaper.png │ │ │ ├── 167-upload-photo.png │ │ │ ├── 168-upload-photo-2.png │ │ │ ├── 169-8ball.png │ │ │ ├── 17-bar-chart.png │ │ │ ├── 170-butterfly.png │ │ │ ├── 171-sun.png │ │ │ ├── 172-pricetag.png │ │ │ ├── 173-eyedropper.png │ │ │ ├── 174-imac.png │ │ │ ├── 175-macbook.png │ │ │ ├── 176-ipad.png │ │ │ ├── 177-building.png │ │ │ ├── 178-city.png │ │ │ ├── 179-notepad.png │ │ │ ├── 18-envelope.png │ │ │ ├── 180-stickynote.png │ │ │ ├── 181-hammer.png │ │ │ ├── 182-messenger-bag.png │ │ │ ├── 183-genie-lamp.png │ │ │ ├── 184-warning.png │ │ │ ├── 185-printer.png │ │ │ ├── 186-ruler.png │ │ │ ├── 187-pencil.png │ │ │ ├── 188-paint-roller.png │ │ │ ├── 189-plant.png │ │ │ ├── 19-gear.png │ │ │ ├── 190-bank.png │ │ │ ├── 191-collection.png │ │ │ ├── 192-credit-card.png │ │ │ ├── 193-location-arrow.png │ │ │ ├── 194-note-2.png │ │ │ ├── 195-barcode.png │ │ │ ├── 196-radiation.png │ │ │ ├── 197-card-diamonds.png │ │ │ ├── 198-card-spades.png │ │ │ ├── 199-card-hearts.png │ │ │ ├── 20-gear2.png │ │ │ ├── 200-card-clubs.png │ │ │ ├── 21-skull.png │ │ │ ├── 22-skull-n-bones.png │ │ │ ├── 23-bird.png │ │ │ ├── 24-gift.png │ │ │ ├── 25-weather.png │ │ │ ├── 26-bandaid.png │ │ │ ├── 27-planet.png │ │ │ ├── 28-star.png │ │ │ ├── 29-heart.png │ │ │ ├── 30-key.png │ │ │ ├── 31-ipod.png │ │ │ ├── 32-iphone.png │ │ │ ├── 33-cabinet.png │ │ │ ├── 34-coffee.png │ │ │ ├── 35-shopping.png │ │ │ ├── 36-toolbox.png │ │ │ ├── 37-suitcase.png │ │ │ ├── 38-airplane.png │ │ │ ├── 39-spraycan.png │ │ │ ├── 40-inbox.png │ │ │ ├── 41-picture-frame.png │ │ │ ├── 42-photos.png │ │ │ ├── 43-film-roll.png │ │ │ ├── 44-shoebox.png │ │ │ ├── 45-movie-1.png │ │ │ ├── 46-movie-2.png │ │ │ ├── 47-fuel.png │ │ │ ├── 48-fork-and-knife.png │ │ │ ├── 49-battery.png │ │ │ ├── 50-beaker.png │ │ │ ├── 51-outlet.png │ │ │ ├── 52-pine-tree.png │ │ │ ├── 53-house.png │ │ │ ├── 54-lock.png │ │ │ ├── 55-network.png │ │ │ ├── 56-cloud.png │ │ │ ├── 57-download.png │ │ │ ├── 58-bookmark.png │ │ │ ├── 59-flag.png │ │ │ ├── 60-signpost.png │ │ │ ├── 61-brightness.png │ │ │ ├── 62-contrast.png │ │ │ ├── 63-runner.png │ │ │ ├── 64-zap.png │ │ │ ├── 65-note.png │ │ │ ├── 66-microphone.png │ │ │ ├── 67-tshirt.png │ │ │ ├── 68-paperclip.png │ │ │ ├── 69-display.png │ │ │ ├── 70-tv.png │ │ │ ├── 71-compass.png │ │ │ ├── 72-pin.png │ │ │ ├── 73-radar.png │ │ │ ├── 74-location.png │ │ │ ├── 75-phone.png │ │ │ ├── 76-baby.png │ │ │ ├── 77-ekg.png │ │ │ ├── 78-stopwatch.png │ │ │ ├── 79-medical-bag.png │ │ │ ├── 80-shopping-cart.png │ │ │ ├── 81-dashboard.png │ │ │ ├── 82-dog-paw.png │ │ │ ├── 83-calendar.png │ │ │ ├── 84-lightbulb.png │ │ │ ├── 85-trophy.png │ │ │ ├── 86-camera.png │ │ │ ├── 87-wine-glass.png │ │ │ ├── 88-beer-mug.png │ │ │ ├── 89-dumbell.png │ │ │ ├── 90-life-buoy.png │ │ │ ├── 91-beaker-2.png │ │ │ ├── 92-test-tube.png │ │ │ ├── 93-thermometer.png │ │ │ ├── 94-pill.png │ │ │ ├── 95-equalizer.png │ │ │ ├── 96-book.png │ │ │ ├── 97-puzzle.png │ │ │ ├── 98-palette.png │ │ │ ├── 99-umbrella.png │ │ │ ├── demo.png │ │ │ ├── facebook.png │ │ │ ├── github.png │ │ │ └── twitter.png │ │ ├── loader.gif │ │ └── ribbon.png │ └── index.html ├── modular-todo-app │ ├── css │ │ ├── destroy.png │ │ └── todos.css │ ├── index.html │ └── js │ │ ├── collections │ │ └── todos.js │ │ ├── libs │ │ ├── backbone │ │ │ ├── backbone-min.js │ │ │ ├── backbone-optamd3-min.js │ │ │ ├── backbone.js │ │ │ ├── backbone.localStorage.js │ │ │ └── localstorage.js │ │ ├── jquery │ │ │ └── jquery-min.js │ │ ├── require │ │ │ ├── require.js │ │ │ └── text.js │ │ └── underscore │ │ │ └── underscore-min.js │ │ ├── main.js │ │ ├── models │ │ └── todo.js │ │ ├── templates │ │ ├── stats.html │ │ └── todos.html │ │ └── views │ │ ├── app.js │ │ └── todo.js ├── qunit-koans │ ├── css │ │ ├── bootstrap.css │ │ ├── koansReporter.css │ │ └── todos.css │ ├── images │ │ └── destroy.png │ ├── index.html │ ├── js │ │ ├── ext │ │ │ ├── backbone.js │ │ │ ├── backbone.localStorage.js │ │ │ ├── jquery.js │ │ │ ├── template.js │ │ │ └── underscore.js │ │ ├── koans │ │ │ ├── aboutApps.js │ │ │ ├── aboutCollections.js │ │ │ ├── aboutEvents.js │ │ │ ├── aboutModels.js │ │ │ └── aboutViews.js │ │ └── todos.js │ ├── specrunner.html │ └── templates │ │ ├── app.html │ │ ├── item.html │ │ └── stats.html ├── stacks │ ├── README.md │ ├── option1 │ │ ├── app.js │ │ ├── install.sh │ │ └── public │ │ │ ├── 404.html │ │ │ ├── crossdomain.xml │ │ │ ├── css │ │ │ └── style.css │ │ │ ├── favicon.ico │ │ │ ├── humans.txt │ │ │ ├── img │ │ │ ├── .gitignore │ │ │ └── destroy.png │ │ │ ├── js │ │ │ ├── libs │ │ │ │ ├── jquery-1.6.2.js │ │ │ │ ├── jquery-1.6.2.min.js │ │ │ │ └── modernizr-2.0.6.min.js │ │ │ ├── mylibs │ │ │ │ ├── .gitignore │ │ │ │ ├── backbone-min.js │ │ │ │ ├── backbone.js │ │ │ │ ├── underscore-min.js │ │ │ │ └── underscore.js │ │ │ ├── plugins.js │ │ │ └── script.js │ │ │ ├── robots.txt │ │ │ ├── static.html │ │ │ └── test │ │ │ ├── index.html │ │ │ ├── qunit │ │ │ ├── qunit.css │ │ │ └── qunit.js │ │ │ └── tests.js │ ├── option2 │ │ ├── app.js │ │ ├── install.sh │ │ ├── public │ │ │ ├── 404.html │ │ │ ├── crossdomain.xml │ │ │ ├── css │ │ │ │ └── style.css │ │ │ ├── favicon.ico │ │ │ ├── humans.txt │ │ │ ├── img │ │ │ │ ├── .gitignore │ │ │ │ └── destroy.png │ │ │ ├── js │ │ │ │ ├── libs │ │ │ │ │ ├── jquery-1.6.2.js │ │ │ │ │ ├── jquery-1.6.2.min.js │ │ │ │ │ └── modernizr-2.0.6.min.js │ │ │ │ ├── mylibs │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── backbone-min.js │ │ │ │ │ ├── backbone.js │ │ │ │ │ ├── underscore-min.js │ │ │ │ │ └── underscore.js │ │ │ │ ├── plugins.js │ │ │ │ └── script.js │ │ │ ├── robots.txt │ │ │ └── test │ │ │ │ ├── index.html │ │ │ │ ├── qunit │ │ │ │ ├── qunit.css │ │ │ │ └── qunit.js │ │ │ │ └── tests.js │ │ └── views │ │ │ ├── layout.jade │ │ │ └── todo.jade │ └── option3 │ │ ├── Gemfile │ │ ├── app.rb │ │ ├── public │ │ ├── 404.html │ │ ├── crossdomain.xml │ │ ├── css │ │ │ └── style.css │ │ ├── favicon.ico │ │ ├── humans.txt │ │ ├── img │ │ │ ├── .gitignore │ │ │ └── destroy.png │ │ ├── js │ │ │ ├── libs │ │ │ │ ├── jquery-1.6.2.js │ │ │ │ ├── jquery-1.6.2.min.js │ │ │ │ └── modernizr-2.0.6.min.js │ │ │ ├── mylibs │ │ │ │ ├── .gitignore │ │ │ │ ├── backbone-min.js │ │ │ │ ├── backbone.js │ │ │ │ ├── underscore-min.js │ │ │ │ └── underscore.js │ │ │ ├── plugins.js │ │ │ └── script.js │ │ └── robots.txt │ │ └── views │ │ ├── index.haml │ │ ├── layout.haml │ │ └── todo.haml └── todo-jqm-app │ ├── .gitignore │ ├── .project │ ├── Gruntfile.js │ ├── app │ ├── common.js │ ├── config.js │ ├── handlebars_helpers.js │ ├── initialize.config.js │ ├── jquerymobile.config.js │ ├── main.js │ ├── modules │ │ ├── TodoModel.js │ │ ├── TodosCollection.js │ │ └── view │ │ │ ├── EditTodoPage.js │ │ │ ├── SingleTodoView.js │ │ │ ├── TodosView.js │ │ │ └── abstract │ │ │ └── BasicView.js │ └── templates │ │ ├── abstract │ │ ├── basic_page_simple.template │ │ └── basic_popup.template │ │ ├── todos │ │ ├── editTodoView.template_partial │ │ ├── singleTodo.template │ │ ├── todosPage.template_partial │ │ └── todosStatisticsAndBulkFooter.template_partial │ │ └── welcome.template_partial │ ├── assets │ ├── css │ │ ├── base.css │ │ ├── bg.png │ │ ├── h5bp.css │ │ ├── images │ │ │ ├── ajax-loader.gif │ │ │ ├── icons-18-black.png │ │ │ ├── icons-18-white.png │ │ │ ├── icons-36-black.png │ │ │ └── icons-36-white.png │ │ ├── index.css │ │ └── jquerymobile.css │ └── js │ │ └── libs │ │ ├── almond.js │ │ ├── backbone.js │ │ ├── backbone_super.js │ │ ├── handlebars.js │ │ ├── jquery.js │ │ ├── jquerymobile.js │ │ ├── localstorage.js │ │ ├── lodash.js │ │ ├── require.js │ │ └── underscore.js │ ├── compile │ ├── favicon.ico │ ├── index.html │ ├── package.js │ ├── readme.md │ └── test │ ├── jasmine │ ├── index.html │ ├── spec │ │ └── example.js │ └── vendor │ │ ├── MIT.LICENSE │ │ ├── jasmine-html.js │ │ ├── jasmine.css │ │ ├── jasmine.js │ │ └── jasmine_favicon.png │ └── qunit │ ├── index.html │ ├── tests │ └── example.js │ └── vendor │ ├── qunit.css │ └── qunit.js └── style.css /.gitignore: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | node_modules/ 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | package-lock.json 7 | yarn.lock 8 | 9 | # Build outputs 10 | *.epub 11 | *.mobi 12 | *.pdf 13 | *.rtf 14 | backbone-fundamentals.md 15 | 16 | # OS files 17 | .DS_Store 18 | .DS_Store? 19 | ._* 20 | .Spotlight-V100 21 | .Trashes 22 | ehthumbs.db 23 | Thumbs.db 24 | 25 | # Editor directories and files 26 | .idea 27 | .vscode 28 | *.swp 29 | *.swo 30 | *~ 31 | -------------------------------------------------------------------------------- /INSTRUCTIONS-pandoc-ebooks.md: -------------------------------------------------------------------------------- 1 | Kindlegen requires title and author metadata. To generate a mobi file from 2 | a pandoc ebook, first generate an epub file using the metadata.xml file 3 | included: 4 | 5 | ``` 6 | pandoc -f markdown -t epub --epub-metadata=metadata.xml -o backbone-fundamentals.epub index.md 7 | ``` 8 | 9 | then use the kindlegen tool to make a mobi from that epub: 10 | 11 | ``` 12 | kindlegen backbone-fundamentals.epub 13 | ``` 14 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | include_dir=build 2 | source=chapters/*.md 3 | title='Developing Backbone.js Applications' 4 | filename='backbone-fundamentals' 5 | 6 | 7 | all: html epub rtf pdf mobi 8 | 9 | markdown: 10 | awk 'FNR==1{print ""}{print}' $(source) > $(filename).md 11 | 12 | html: markdown 13 | pandoc -s $(filename).md -f markdown+smart -t html5 -o index.html -c style.css \ 14 | --include-in-header $(include_dir)/head.html \ 15 | --include-before-body $(include_dir)/author.html \ 16 | --include-before-body $(include_dir)/share.html \ 17 | --include-after-body $(include_dir)/stats.html \ 18 | --title-prefix $(title) \ 19 | --toc 20 | 21 | epub: markdown 22 | pandoc -s $(filename).md -f markdown+smart -t epub -o $(filename).epub \ 23 | --epub-metadata $(include_dir)/metadata.xml \ 24 | --css epub.css \ 25 | --epub-cover-image img/cover.jpg \ 26 | --title-prefix $(title) \ 27 | --toc 28 | 29 | rtf: markdown 30 | pandoc -s $(filename).md -f markdown+smart -o $(filename).rtf \ 31 | --title-prefix $(title) 32 | 33 | pdf: markdown 34 | # You need `pdflatex` 35 | # OS X: http://www.tug.org/mactex/ 36 | # Then find its path: find /usr/ -name "pdflatex" 37 | # Then symlink it: ln -s /path/to/pdflatex /usr/local/bin 38 | pandoc -s $(filename).md -f markdown+smart -o $(filename).pdf \ 39 | --title-prefix $(title) \ 40 | --toc \ 41 | --pdf-engine=xelatex 42 | 43 | mobi: epub 44 | # Download: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211 45 | # Symlink bin: ln -s /path/to/kindlegen /usr/local/bin 46 | kindlegen $(filename).epub 47 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | title: Developing Backbone.js Applications 2 | description: A comprehensive guide to building Backbone.js applications 3 | baseurl: "/backbone-fundamentals" 4 | url: "https://addyosmani.github.io" 5 | 6 | # Build settings 7 | markdown: kramdown 8 | kramdown: 9 | input: GFM 10 | syntax_highlighter: rouge 11 | 12 | # Exclude from processing 13 | exclude: 14 | - node_modules 15 | - Makefile 16 | - package.json 17 | - package-lock.json 18 | - README.md 19 | - .gitignore 20 | - practicals/ 21 | - build/ 22 | 23 | plugins: 24 | - jekyll-relative-links 25 | - jekyll-seo-tag 26 | 27 | # Default front matter 28 | defaults: 29 | - 30 | scope: 31 | path: "" 32 | values: 33 | layout: "default" 34 | -------------------------------------------------------------------------------- /backbone-fundamentals.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/addyosmani/backbone-fundamentals/72793b31b2dc22788c64f5b8820e61110a7723f5/backbone-fundamentals.epub -------------------------------------------------------------------------------- /backbone-fundamentals.mobi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/addyosmani/backbone-fundamentals/72793b31b2dc22788c64f5b8820e61110a7723f5/backbone-fundamentals.mobi -------------------------------------------------------------------------------- /backbone-fundamentals.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/addyosmani/backbone-fundamentals/72793b31b2dc22788c64f5b8820e61110a7723f5/backbone-fundamentals.pdf -------------------------------------------------------------------------------- /build/INSTRUCTIONS-pandoc-ebooks.md: -------------------------------------------------------------------------------- 1 | Kindlegen requires title and author metadata. To generate a mobi file from 2 | a pandoc ebook, first generate an epub file using the metadata.xml file 3 | included: 4 | 5 | ``` 6 | pandoc -f markdown -t epub --epub-metadata=metadata.xml -o backbone-fundamentals.epub index.md 7 | ``` 8 | 9 | then use the kindlegen tool to make a mobi from that epub: 10 | 11 | ``` 12 | kindlegen backbone-fundamentals.epub 13 | ``` -------------------------------------------------------------------------------- /build/author.html: -------------------------------------------------------------------------------- 1 |
2 |
Available free for open-source reading below or for purchase via the O'Reilly store. Pull requests and comments always welcome.
13 |Sorry, but the page you were trying to view does not exist.
24 |It looks like this was the result of either:
25 |Sorry, but the page you were trying to view does not exist.
24 |It looks like this was the result of either:
25 |