-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a08f22e
commit ce72606
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
Пространство видимости | ||
====================== | ||
|