{"id":7781,"date":"2015-10-25T23:36:42","date_gmt":"2015-10-25T23:36:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/25\/vitalets-x-editable\/"},"modified":"2015-10-25T23:36:42","modified_gmt":"2015-10-25T23:36:42","slug":"vitalets-x-editable","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/25\/vitalets-x-editable\/","title":{"rendered":"vitalets\/x-editable"},"content":{"rendered":"<p>In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.<\/p>\n<h2>Project status<\/h2>\n<p>Unfortunately, <strong>project is currently frozen<\/strong>, as I don\u2019t have enough time for it. You could try use it as is, but there may be some bugs with newer versions of dependend libraries (e.g. bootstrap). I would really appreciate if someone take care of it\u2026 See #610. Vitalets.<\/p>\n<h2>Live demo<\/h2>\n<p><strong>http:\/\/vitalets.github.io\/x-editable\/demo.html<\/strong><\/p>\n<h2>Documentation<\/h2>\n<p><strong>http:\/\/vitalets.github.io\/x-editable<\/strong><\/p>\n<h2>How to get it<\/h2>\n<h3>Manual download<\/h3>\n<p>Use <strong>http:\/\/vitalets.github.io\/x-editable<\/strong> main page.<\/p>\n<h3>Bower<\/h3>\n<pre><code>bower install x-editable\n<\/code><\/pre>\n<h3>CDN<\/h3>\n<p>Bootstrap 3 build:<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<p>Bootstrap 2 build:<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<p>jQuery UI build:<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<p>jQuery only build:<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<h2>Reporting issues<\/h2>\n<p>Please <strong>provide jsFiddle<\/strong> when creating issues!<br \/>\nIt\u2019s really saves much time. Use these as template:<\/p>\n<h2>Contribution<\/h2>\n<p>A few steps how to start contributing.<br \/>\nAssuming you have Node.js already installed.<\/p>\n<p>1.Fork <em>X-editable<\/em> on github and clone it to your local mashine:<\/p>\n<pre><code>git clone https:\/\/github.com\/\/x-editable.git -b dev\n<\/code><\/pre>\n<p>2.Install <em>grunt-cli<\/em> globally (if not yet):<\/p>\n<pre><code>npm i -g grunt-cli\n<\/code><\/pre>\n<p>3.Install dependencies:<\/p>\n<pre><code>cd x-editable\nnpm i\n<\/code><\/pre>\n<p>4.Make your changes:<\/p>\n<pre><code>vim editable-form.js\n<\/code><\/pre>\n<p>5.Write some tests for your changes:<\/p>\n<pre><code>vim \/test\/unit\/*.js\n<\/code><\/pre>\n<p>6.Run tests in cli:<\/p>\n<pre><code>grunt test\n<\/code><\/pre>\n<p>or directly in browser:<\/p>\n<pre><code>grunt server\n<\/code><\/pre>\n<p>and open http:\/\/127.0.0.1:8000\/test<br \/>\nBy default test run on bootstrap 3 popup version, but you can test any other build:<\/p>\n<p>7.Commit and push back on github:<\/p>\n<pre><code>git add .\ngit commit -m'refactor editable form, fix #123'\ngit push origin\n<\/code><\/pre>\n<p>8.Make pull request on github (to <code>dev<\/code> branch).<\/p>\n<p>Thanks for your support!<\/p>\n<h3>Local build<\/h3>\n<p>To build x-editable locally please run:<\/p>\n<pre><code>grunt build\n<\/code><\/pre>\n<p>Result will appear in <code>dist<\/code> directory.<\/p>\n<h2>License<\/h2>\n<p>Copyright \u00a9 2012 Vitaliy Potapov<br \/>\nLicensed under the MIT license.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery. Project status Unfortunately, project is currently frozen, as I don\u2019t have enough time for it. You could try use it as is, but there may be some bugs with newer versions of dependend libraries (e.g. bootstrap). I would really appreciate if someone take care of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7781","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7781"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7781\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}