12345678910111213141516171819202122232425262728293031323334 |
- /*------------------------------------------------------------------------------------------------------------------------
- @package: arkiwiJsBoilerplate
- @author: cek
- @www: arkiwi.oeg
- @copyright: COPYRIGHT 18 cek
- @license: MIT
- =============================================================================
- Filename: main.js
- =============================================================================
- This file is the main entry point for js on the arkiwiJsBoilerplate app.
- --------------------------------------------------------------------------------------------------------------------- */
- $(document).ready(function () {
- var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org');
- $.get("templates/list.txt", function (template) {
- arkiwi.path("XM24", function (listone) {
- var dioporco = Mustache.render(template, listone);
- });
- });
- var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org');
- arkiwi.search('Ampioraggio', function (result) {
- console.log('Ricerca...');
- console.log(result);
- });
- arkiwi.path('XM24', function (result) {
- console.log('Lettura cartella...');
- console.log(result);
- }, true);
- });
|