diff --git a/bundle.js b/bundle.js new file mode 100644 index 0000000..21e576f --- /dev/null +++ b/bundle.js @@ -0,0 +1,14 @@ +$(function() { + $('#examples').each(function(index, elem) { + $.getJSON( + 'http://ksenia.causa-arcana.com/api/examples?ids=' + $(elem).data('ids'), + function(data) { + var list_items = [] + data.forEach(function(item) { + list_items.push('
  • ' + item[0] + ' — ' + item[1] + '
  • ') + }) + $(elem).html('') + }, + ) + }) +}) diff --git a/words/არის.html b/words/არის.html index 2034f49..a8cb253 100644 --- a/words/არის.html +++ b/words/არის.html @@ -44,6 +44,12 @@

    Примеры употребления

    - +
    + + + diff --git a/words/აქვს.html b/words/აქვს.html index b3d6841..440e1f1 100644 --- a/words/აქვს.html +++ b/words/აქვს.html @@ -49,67 +49,12 @@

    Примеры употребления

    - +
    + + +