{"id":280811,"date":"2016-11-11T16:15:03","date_gmt":"2016-11-11T13:15:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=280811"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=280811","title":{"rendered":"Includor.js, \u0438\u043b\u0438 @j includor"},"content":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/61d\/d9e\/d20\/61dd9ed201254aeba4e52189db698b6a.jpg\" \/><\/div>\n<p>  \u0412\u044b \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438, \u0447\u0442\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 JavaScript \u043a\u043e\u0434 \u043d\u0430 \u0432\u0430\u0448\u0435\u0439 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0435, \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0439:<\/p>\n<pre><code class=\"html\">&lt;script src=&quot;JS\/example.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u041c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u044f \u043c\u0438\u0440\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439, \u043d\u043e \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u043b\u0435\u043d\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0451, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u043c\u043d\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u043e \u0441\u0438\u043b\u0430\u043c \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0435\u0451 \u0434\u043e \u0442\u0430\u043a\u043e\u0439:<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<pre><code class=\"html\">@j JS\/example <\/code><\/pre>\n<p>  \u0418 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u0430 \u0448\u0442\u0443\u043a\u0430 \u043e\u0436\u0438\u043b\u0430 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b\u0430 \u043a HTML example.js, \u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 Includor.js.<\/p>\n<h3>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043c\u043e\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443, \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0438 \u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432 \u0441\u0432\u043e\u0439 HTML:<\/p>\n<pre><code class=\"html\">&lt;script src=&quot;http:\/\/raw.githubusercontent.com\/malyutinegor\/malyutinegor.github.io\/master\/libs\/includor\/includor.min.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0410 \u043f\u043e\u0442\u043e\u043c \u044d\u0442\u043e\u0442:<\/p>\n<pre><code class=\"html\">@gj malyutinegor: malyutinegor.github.io master\/libs\/includor\/hello.js <\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0446\u0438\u044e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 JavaScript-\u043a\u043e\u0434:<\/p>\n<pre><code class=\"javascript\">I.start(); <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432\u0441\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u0440\u043e\u0434\u0435 @j examaple, @c hello \u0438 \u0442.\u0434. \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0441\u0447\u0435\u0437\u043d\u0443\u0442 \u0438\u0437 HTML-\u043a\u043e\u0434\u0430, \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0451 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0442\u043e \u0443 \u0432\u0430\u0441 \u0432 <a href=\"http:\/\/learn.javascript.ru\/devtools\">\u043a\u043e\u043d\u0441\u043e\u043b\u0438<\/a> \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0434\u0432\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f: \u00abIncludor.js is ready for use!\u00bb \u0438 \u00abHello, Includor.js!\u00bb<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u0440\u0430\u0437\u0443 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434, \u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0438\u043b\u0438 <a href=\"https:\/\/cloud.mail.ru\/public\/2KT5\/nBzoJspCk\">\u0442\u0443\u0442<\/a> \u0441\u043a\u0430\u0447\u0430\u0439\u0442\u0435:<\/p>\n<pre><code class=\"html\">&lt;html&gt; \t\t&lt;head&gt; \t\t\t&lt;title&gt;Includor.js tests&lt;\/title&gt; \t\t\t&lt;meta charset=&quot;utf-8&quot;&gt; \t\t&lt;\/head&gt; \t\t&lt;body&gt; \t\t\t&lt;!-- Includes --&gt; \t\t\t@gj malyutinegor: malyutinegor.github.io master\/libs\/includor\/hello \t\t \t\t \t\t\t&lt;!-- Scripts --&gt; \t\t\t&lt;script src=&quot;http:\/\/raw.githubusercontent.com\/malyutinegor\/malyutinegor.github.io\/master\/libs\/includor\/includor.min.js&quot;&gt;&lt;\/script&gt; \t\t\t \t\t\t&lt;script&gt; \t\t\t\tI.start() \t\t\t&lt;\/script&gt; \t\t&lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<p>  <\/p>\n<h3>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b HTML<\/h3>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0444\u0430\u0439\u043b JavaScript, \u043d\u0430\u0434\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 HTML, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u0443\u0436\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0432\u044b\u0448\u0435:<\/p>\n<pre><code class=\"html\">@j \u043f\u0443\u0442\u044c\/\u0434\u043e\/\u0432\u0430\u0448\u0435\u0433\u043e\/js\/\u0431\u0435\u0437\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <\/code><\/pre>\n<p>  \u041f\u043e\u0445\u043e\u0436\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0443\u0436\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c CSS:<\/p>\n<pre><code class=\"html\">@c \u043f\u0443\u0442\u044c\/\u0434\u043e\u0412\u0430\u0448\u0435\u0433\u043e\/css\/\u0431\u0435\u0437\/\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u043b\u0435\u0433\u043a\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c JS \u0438 CSS \u0441 Github:<\/p>\n<pre><code class=\"html\">@gj \u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432\u0435\u0442\u043a\u0430\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\/\u043f\u0443\u0442\u044c\/\u0434\u043e\/\u0432\u0430\u0448\u0435\u0433\u043e\/js\/\u0431\u0435\u0437\/\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f @g\u0441 \u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432\u0435\u0442\u043a\u0430_\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\/\u043f\u0443\u0442\u044c\u0414\u043e\/\u0432\u0430\u0448\u0435\u0433\u043e\/css\/\u0431\u0435\u0437\/\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <\/code><\/pre>\n<p>  <\/p>\n<h3>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b JavaScript<\/h3>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Includor.js \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 JavaScript 2 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<ol>\n<li>I.JS(path)<br \/>  \u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 HTML-\u043a\u043e\u0434.<br \/>  path \u2014 \u043f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c.  <\/li>\n<li>I.CSS(path)<br \/>  \u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e CSS-\u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432 HTML-\u043a\u043e\u0434.<br \/>  path \u2014 \u043f\u0443\u0442\u044c \u0434\u043e CSS-\u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c.  <\/li>\n<li>I.start()<br \/>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u0443\u0436\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0432\u044b\u0448\u0435. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0446\u0438\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 Includor.js.  <\/li>\n<\/ol>\n<p>  <\/p>\n<h3>\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u0444\u0430\u043a\u0442<\/h3>\n<p>  \u041f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u043b\u044e\u0431\u043e\u0439 \u0434\u043b\u0438\u043d\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"html\">@gj      githubuser      :hello            html\/JS\/example <\/code><\/pre>\n<p>  <\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u041c\u043e\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c JavaScript-\u043a\u043e\u0434 \u0438 CSS-\u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u041e\u0447\u0435\u043d\u044c \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043e\u043d\u0430 \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/p>\n<p>  <b>P.S.:<\/b> \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u043c\u0438\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/github.com\/malyutinegor\/malyutinegor.github.io\/tree\/master\/libs\/includor\/\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u0430 \u0413\u0438\u0442\u0445\u0430\u0431\u0435<\/a>.<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/315024\/\"> https:\/\/habrahabr.ru\/post\/315024\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/61d\/d9e\/d20\/61dd9ed201254aeba4e52189db698b6a.jpg\" \/><\/div>\n<p>  \u0412\u044b \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438, \u0447\u0442\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 JavaScript \u043a\u043e\u0434 \u043d\u0430 \u0432\u0430\u0448\u0435\u0439 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0435, \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0439:<\/p>\n<pre><code class=\"html\">&lt;script src=&quot;JS\/example.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u041c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u044f \u043c\u0438\u0440\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439, \u043d\u043e \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u043b\u0435\u043d\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0451, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u043c\u043d\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u043e \u0441\u0438\u043b\u0430\u043c \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0435\u0451 \u0434\u043e \u0442\u0430\u043a\u043e\u0439:  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-280811","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/280811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=280811"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/280811\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=280811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=280811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=280811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}