1/* 2 * To change this license header, choose License Headers in Project Properties. 3 * To change this template file, choose Tools | Templates 4 * and open the template in the editor. 5 */ 6 7 8 9 10var myApp=angular.module("OBooks", ['ngRoute']); 11 myApp.config(function($routeProvider) { 12 $routeProvider 13 14 // route for the home page 15 .when('/', { 16 templateUrl : 'home.html', 17 controller : 'BooksCtrl' 18 }) 19 20 // route for the about page 21 .when('/english', { 22 templateUrl : 'booklist.html', 23 controller : 'BooksInEnglish' 24 }) 25 26 // route for the contact page 27 .when('/deutsch', { 28 templateUrl : 'booklist.html', 29 controller : 'BooksInGerman' 30 }) 31 .when('/sorani', { 32 templateUrl : 'booklist.html', 33 controller : 'BooksInSorani' 34 }) 35 .when('/francais', { 36 templateUrl : 'booklist.html', 37 controller : 'BooksInFrench' 38 }) 39 .when('/italiano', { 40 templateUrl : 'booklist.html', 41 controller : 'BooksInItalian' 42 }) 43 .when('/espanol', { 44 templateUrl : 'booklist.html', 45 controller : 'BooksInSpanish' 46 }) 47 .when('/turkce', { 48 templateUrl : 'booklist.html', 49 controller : 'BooksInTurkish' 50 }) 51 .when('/dutch', { 52 templateUrl : 'booklist.html', 53 controller : 'BooksInDutch' 54 }) 55 .when('/portuguese', { 56 templateUrl : 'booklist.html', 57 controller : 'BooksInPortuguese' 58 }) 59 .when('/dansk', { 60 templateUrl : 'booklist.html', 61 controller : 'BooksInDansk' 62 }) 63 .when('/tamil', { 64 templateUrl : 'booklist.html', 65 controller : 'BooksInTamil' 66 }) 67 .when('/korean', { 68 templateUrl : 'booklist.html', 69 controller : 'BooksInKorean' 70 }) 71 .when('/catalan', { 72 templateUrl : 'booklist.html', 73 controller : 'BooksInCatalan' 74 }) 75 .when('/svenska', { 76 templateUrl : 'booklist.html', 77 controller : 'BooksInSwedish' 78 }) 79 .when('/ellinika', { 80 templateUrl : 'booklist.html', 81 controller : 'BooksInGreek' 82 }) 83 .when('/euskara', { 84 templateUrl : 'booklist.html', 85 controller : 'BooksInEuskara' 86 }).when('/kurmanci', { 87 templateUrl : 'booklist.html', 88 controller : 'BooksInKurmanci' 89 }) 90 .when('/bibliography', { 91 templateUrl : 'bibliography.html', 92 controller : 'bibliography' 93 }) 94 .when('/book/:bookID', { 95 templateUrl : 'details.html', 96 controller : 'BookDetailCtrl' 97 }) 98 .when('/book/:bookID/:reviewID', { 99 templateUrl : 'review.html', 100 controller : 'reviewCtrl' 101 }) 102 103 .otherwise({redirectTo:"/"}); 104 }); 105 myApp.controller('reviewCtrl', function($scope, $routeParams){ 106 console.log($routeParams.reviewID) 107 $scope.book=getBook($routeParams.bookID); 108 $scope.var=getVar(getBook($routeParams.bookID).language); 109 $scope.review=getReview($routeParams.reviewID); 110 $('html, body').animate({ scrollTop: 0 }, 'slow'); 111 112 113 114 115 116 }); 117 myApp.controller('bannerCtrl', function($scope){ 118 119 var tmpBooks=[]; 120 121 for(var i=0;i<sliders.length; i++){ 122 tmpBooks.push(getBook(sliders[i].id)); 123 } 124 125 var x = Math.floor(Math.random() * sliders.length); 126 $scope.book=tmpBooks[x]; 127 $scope.slider=sliders[x]; 128 129 130 }); 131 132 myApp.controller('BookDetailCtrl', function($scope, $routeParam
132s){ 133 134 135 var book_ID=$routeParams.bookID; 136 var revID=$routeParams.reviewID; 137 // console.log($routeParams); 138 139 if(revID!=null){ 140 $('html, body').animate({ scrollTop: $('#revID').offset().top }, 'slow'); 141 console.log(revID); 142 }else{ 143 $('html, body').animate({ scrollTop: 0 }, 'slow'); 144 } 145 var language=""; 146 var reviews=[]; 147 var reviewsonce=[]; 148 var quotes=[]; 149 for (var i=0; i<data.length; i++) { 150 if (data[i].bookID == book_ID) { 151 $scope.book = data[i]; 152 language=data[i].language; 153 } 154 } 155 for (var i=0; i<brochures.length; i++) { 156 if (brochures[i].bookID == book_ID) { 157 $scope.book = brochures[i]; 158 language=brochures[i].language; 159 160 161 } 162 } 163 if(language=="tamil"){ 164 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').addClass('tamil_body'); 165 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 166 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 167 $('p, li, ul, a, em, body').removeClass('korean_body'); 168 }else if(language=="korean"){ 169 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 170 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 171 $('h1, h2, h3, h4, h5, strong').addClass('korean_headline'); 172 $('p, li, ul, a, em, body').addClass('korean_body'); 173 }else if(language=="sorani"){ 174 175 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 176 $('h1, h2, h3, h4, h5, strong').addClass('soran_headline'); 177 $('p, li, ul, a, em, body, div').addClass('soran_body'); 178 }else{ 179 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 180 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 181 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 182 $('p, li, ul, a, em, body').removeClass('korean_body'); 183 } 184 185 186 reviews=getReviews(book_ID); 187 188 189 190 quotes=getQuotes(book_ID); 191 $scope.reviews=reviews; 192 $scope.reviewsonce=reviewsonce; 193 $scope.aboutAuthor=getAuthor(language); 194 $scope.books=getBooks(language); 195 $scope.brochures=getBrochures(language); 196 $scope.var=getVar(language); 197 $scope.quotes=getQuotes(book_ID); 198 199 $('#footerText').html($scope.var.footer); 200 201 $("title" ).html($scope.book.title + " - Abdullah Ãcalan - International Initiative Edition"); 202 $('body').addClass('bg-white'); 203 if(reviews.length==0 && quotes.length==0 && reviewsonce==0 ){ 204 $('#reviewTitle').hide(); 205 } 206 207 208 209 }); 210 211 myApp.controller('BooksInEuskara', function($scope){ 212 $scope.books=getBooks("euskara"); 213 $scope.var=getVar("euskara"); 214 $scope.brochures=getBrochures("euskara"); 215 $('body').removeClass('bg-white'); 216 $('.navbar-toggle:visible').click(); 217 $('html, body').animate({ scrollTop: 0 }, 'slow'); 218 $("title" ).html("Books by Abdullah Ãcalan"); 219 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 220 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 221 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 222 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 223 $('p, li, ul, a, em, body').removeClass('korean_body'); 224 $('#footerText').html($scope.var.footer); 225 }); 226 myApp.controller('BooksInGerman', function($scope){ 227 $scope.books=getBooks("german"); 228 $scope.var=getVar("german"); 229 $scope.brochures=getBrochures("german"); 230 $('body').removeClass('bg-white'); 231 $('.navbar-toggle:visible').click(); 232 $('html, body').animate({ scrollTop: 0 }, 'slow'); 233 $("title" ).html("Abdullah Ãcalans Bücher"); 234 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 235 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 236 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 237 $('p, li, ul, a, em, body').removeClass('korean_body'); 238 $('#footerText').html($scope.var.footer); 239 }); 240 241 myApp.controller('BooksInEnglish', function($scope){ 242 $scope.books=getBooks("english"); 243 $scope.brochures=getBrochures("english"); 244 $scope.var=getVar("english"); 245 $('body').removeClass('bg-white'); 246 $('.navbar-toggle:visible').click(); 247 $('html, body').animate({ scrollTop: 0 }, 'slow'); 248 $("title" ).html("Books by Abdullah Ãcalan"); 249 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 250 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 251 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 252 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 253 $('p, li, ul, a, em, body').removeClass('korean_body'); 254 $('#footerText').html($scope.var.footer); 255 }); 256 myApp.controller('BooksInGreek', function($scope){ 257 $scope.books=getBooks("greek"); 258 $scope.brochures=getBrochures("greek"); 259 $scope.var=getVar("greek"); 260 $('body').removeClass('bg-white'); 261 $('.navbar-toggle:visible').click(); 262 $('html, body').animate({ scrollTop: 0 }, 'slow'); 263 $("title" ).html("Books by Abdullah Ãcalan"); 264 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 265 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 266 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 267 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 268 $('p, li, ul, a, em, body').removeClass('korean_body'); 269 $('#footerText').html($scope.var.footer); 270 }); 271 myApp.controller('BooksInItalian', function($scope){ 272 $scope.books=getBooks("italian"); 273 $scope.brochures=getBrochures("italian"); 274 $scope.var=getVar("italian"); 275 $('body').removeClass('bg-white'); 276 $('.navbar-toggle:visible').click(); 277 $('html, body').animate({ scrollTop: 0 }, 'slow'); 278 $("title" ).html("Books by Abdullah Ãcalan"); 279 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 280 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 281 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 282 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 283 $('p, li, ul, a, em, body').removeClass('korean_body'); 284 $('#footerText').html($scope.var.footer); 285 }); 286 myApp.controller('BooksInSpanish', function($scope){ 287 $scope.books=getBooks("spanish"); 288 $scope.brochures=getBrochures("spanish"); 289 $scope.var=getVar("spanish"); 290 $('body').removeClass('bg-white'); 291 $('.navbar-toggle:visible').click(); 292 $('html, body').animate({ scrollTop: 0 }, 'slow'); 293 $("title" ).html("Books by Abdullah Ãcalan"); 294 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 295 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 296 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 297 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 298 $('p, li, ul, a, em, body').removeClass('korean_body'); 299 $('#footerText').html($scope.var.footer); 300 }); 301 myApp.controller('BooksInFrench', function($scope){ 302 $scope.books=getBooks("french"); 303 $scope.brochures=getBrochures("french"); 304 $scope.var=getVar("french"); 305 $('body').removeClass('bg-white'); 306 $('.navbar-toggle:visible').click(); 307 $('html, body').animate({ scrollTop: 0 }, 'slow'); 308 $("title" ).html("Les livres d'Abdullah Ãcalan"); 309 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 310 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 311 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 312 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 313 $('p, li, ul, a, em, body').removeClass('korean_body'); 314 $('#footerText').html($scope.var.footer); 315 }); 316 myApp.controller('BooksInPortuguese', function($scope){ 317 $scope.books=getBooks("portuguese"); 318 $scope.brochures=getBrochures("portuguese"); 319 $scope.var=getVar("portuguese"); 320 $('body').removeClass('bg-white'); 321 $('.navbar-toggle:visible').click(); 322 $('html, body').animate({ scrollTop: 0 }, 'slow'); 323 $("title" ).html("Books by Abdullah Ãcalan"); 324 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 325 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 326 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 327 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 328 $('p, li, ul, a, em, body').removeClass('korean_body'); 329 $('#footerText').html($scope.var.footer); 330 }); 331 myApp.controller('BooksInDutch', function($scope){ 332 $scope.books=getBooks("dutch"); 333 $scope.brochures=getBrochures("dutch"); 334 $scope.var=getVar("dutch"); 335 $('body').removeClass('bg-white'); 336 $('.navbar-toggle:visible').click(); 337 $('html, body').animate({ scrollTop: 0 }, 'slow'); 338 $("title" ).html("Books by Abdullah Ãcalan"); 339 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 340 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 341 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 342 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 343 $('p, li, ul, a, em, body').removeClass('korean_body'); 344 $('#footerText').html($scope.var.footer); 345 }); 346 myApp.controller('BooksInTurkish', function($scope){ 347 $scope.books=getBooks("turkish"); 348 $scope.brochures=getBrochures("turkish"); 349 $scope.var=getVar("turkish"); 350 $('body').removeClass('bg-white'); 351 $('.navbar-toggle:visible').click(); 352 $('html, body').animate({ scrollTop: 0 }, 'slow'); 353 $("title" ).html("Books by Abdullah Ãcalan"); 354 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 355 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 356 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 357 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 358 $('p, li, ul, a, em, body').removeClass('korean_body'); 359 $('#footerText').html($scope.var.footer); 360 }); 361 myApp.controller('BooksInDansk', function($scope){ 362 $scope.books=getBooks("dansk"); 363 $scope.var=getVar("dansk"); 364 $scope.brochures=getBrochures("dansk"); 365 $('body').removeClass('bg-white'); 366 $('.navbar-toggle:visible').click(); 367 $('html, body').animate({ scrollTop: 0 }, 'slow'); 368 $("title" ).html("Books by Abdullah Ãcalan"); 369 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 370 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 371 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 372 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 373 $('p, li, ul, a, em, body').removeClass('korean_body'); 374 $('#footerText').html($scope.var.footer); 375 }); 376 377 myApp.controller('BooksInSwedish', function($scope){ 378 $scope.books=getBooks("svenska"); 379 $scope.var=getVar("svenska"); 380 $scope.brochures=getBrochures("svenska"); 381 $('body').removeClass('bg-white'); 382 $('.navbar-toggle:visible').click(); 383 $('html, body').animate({ scrollTop: 0 }, 'slow'); 384 $("title" ).html("Books by Abdullah Ãcalan"); 385 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 386 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 387 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 388 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 389 $('p, li, ul, a, em, body').removeClass('korean_body'); 390 $('#footerText').html($scope.var.footer); 391 }); 392 myApp.controller('BooksInTamil', function($scope){ 393 $scope.books=getBooks("tamil"); 394 $scope.brochures=getBrochures("tamil"); 395 $scope.var=getVar("tamil"); 396 $('body').removeClass('bg-white'); 397 $('.navbar-toggle:visible').click(); 398 $('html, body').animate({ scrollTop: 0 }, 'slow'); 399 $("title" ).html("Books by Abdullah Ãcalan"); 400 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 401 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 402 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').addClass('tamil_body'); 403 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 404 $('p, li, ul, a, em, body').removeClass('korean_body'); 405 $('#footerText').html($scope.var.footer); 406 407 }); 408 myApp.controller('BooksInKurmanci', function($scope){ 409 $scope.books=getBooks("kurmanci"); 410 $scope.brochures=getBrochures("kurmanci"); 411 $scope.var=getVar("kurmanci"); 412 $('body').removeClass('bg-white'); 413 $('.navbar-toggle:visible').click(); 414 $('html, body').animate({ scrollTop: 0 }, 'slow'); 415 $("title" ).html("Books by Abdullah Ãcalan"); 416 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 417 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 418 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 419 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 420 $('p, li, ul, a, em, body').removeClass('korean_body'); 421 $('#footerText').html($scope.var.footer); 422 423 }); 424 myApp.controller('BooksInKorean', function($scope){ 425 $scope.books=getBooks("korean"); 426 $scope.brochures=getBrochures("korean"); 427 $scope.var=getVar("korean"); 428 $('body').removeClass('bg-white'); 429 $('.navbar-toggle:visible').click(); 430 $('html, body').animate({ scrollTop: 0 }, 'slow'); 431 $("title" ).html("Books by Abdullah Ãcalan"); 432 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 433 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 434 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 435 $('h1, h2, h3, h4, h5, strong').addClass('korean_headline'); 436 $('p, li, ul, a, em, body').addClass('korean_body'); 437 $('#footerText').html($scope.var.footer); 438 439 }); 440 myApp.controller('BooksInCatalan', function($scope){ 441 $scope.books=getBooks("catalan"); 442 $scope.brochures=getBrochures("catalan"); 443 $scope.var=getVar("catalan"); 444 $('body').removeClass('bg-white'); 445 $('.navbar-toggle:visible').click(); 446 $('html, body').animate({ scrollTop: 0 }, 'slow'); 447 $("title" ).html("Books by Abdullah Ãcalan"); 448 $('h1, h2, h3, h4, h5, strong').removeClass('soran_headline'); 449 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em, div').removeClass('soran_body'); 450 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 451 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 452 $('p, li, ul, a, em, body').re
452moveClass('korean_body'); 453 $('#footerText').html($scope.var.footer); 454 }); 455 myApp.controller('BooksInSorani', function($scope){ 456 $scope.books=getBooks("sorani"); 457 $scope.brochures=getBrochures("sorani"); 458 $scope.var=getVar("sorani"); 459 $('body').removeClass('bg-white'); 460 $('.navbar-toggle:visible').click(); 461 $('html, body').animate({ scrollTop: 0 }, 'slow'); 462 $("title" ).html("Books by Abdullah Ãcalan"); 463 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 464 465 $('body, h1, h2, h3, p, h4, h5, strong, a, em, div').addClass('soran_body'); 466 $('h1, h2, h3, h4, h5, strong').addClass('soran_headline'); 467 $(".title").css("font-size", "46pt"); 468 469 // $('p, li, ul, a, em, body, article, section').addClass('soran_body'); 470 $('#footerText').html($scope.var.footer); 471 }); 472 myApp.controller('BooksCtrl', function($scope){ 473 474 $scope.books=data; 475 $scope.brochures=brochures; 476 $scope.var=getVar("english"); 477 $('body').removeClass('bg-white'); 478 $('html, body').animate({ scrollTop: 0 }, 'slow'); 479 $("title" ).html("Books by Abdullah Ãcalan"); 480 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 481 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 482 483 $('p, li, ul, a, em, body').removeClass('korean_body'); 484 $('#footerText').html($scope.var.footer); 485 486 487 }); 488 myApp.controller('bibliography', function($scope){ 489 console.log("Test1"); 490 console.log(library.length); 491 $scope.library=library; 492 console.log("test2"); 493 494 $('body').removeClass('bg-white'); 495 $('html, body').animate({ scrollTop: 0 }, 'slow'); 496 $("title" ).html("Library of Abdullah Ãcalan"); 497 $('body, h1, h2, h3, p, li, ul, h4, h5, strong, a, em').removeClass('tamil_body'); 498 $('h1, h2, h3, h4, h5, strong').removeClass('korean_headline'); 499 $('p, li, ul, a, em, body').removeClass('korean_body'); 500 501 502 503 }); 504 505 506 //myApp.controller('BooksInEnglish',function($scope){ 507 508 //});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.