Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 21, 2018
1 parent a08f22e commit ce72606
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Just have https://cms.skeeks.com/marketplace marketpleys the CMS for this, which
overview
structure
quickstart
javascript
admin
extensions
faq
Expand Down
44 changes: 44 additions & 0 deletions docs/javascript.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
==========
Javascript
==========

Общее
=====

Мы развиваем и поддерживаем свой js фреймворк.

Он позволяет легко писать собственные js классы и наследовать их друг от друга.

Используется глобальный namespace ``sx``

Установка
=========

В SkeekS CMS уже используется данный фреймворк.

Для установки в любой yii2 проект, можно использовать ``skeeks/yii2-sx`` пакет.

Базовые классы
==============

Вот так можно получить ссылку на resize изображения.

.. code-block:: js
sx.classes.Entity
sx.classes.Component
sx.classes.AjaxQuery
sx.classes.Cookie
.. code-block:: javascript
sx.classes.Entity
sx.classes.Component
sx.classes.AjaxQuery
sx.classes.Cookie
Пространство видимости
======================

0 comments on commit ce72606

Please sign in to comment.