{"id":307,"date":"2009-02-14T11:05:10","date_gmt":"2009-02-14T16:05:10","guid":{"rendered":"http:\/\/eligrey.com\/?p=307"},"modified":"2009-02-14T11:05:10","modified_gmt":"2009-02-14T16:05:10","slug":"jil-004","status":"publish","type":"post","link":"https:\/\/eligrey.com\/blog\/jil-004\/","title":{"rendered":"JIL 0.0.4"},"content":{"rendered":"<p>At this time I <em>would<\/em> be introducing Noteboard 2.1 but since the source files to that are on my corrupted hard drive, I began working on a updated version of <a title=\"jData Interface Library\" href=\"http:\/\/github.com\/eligrey\/jil\">JIL<\/a>. One new great feature is chainable method calls.<\/p>\n<p>Changelog for <a href=\"http:\/\/code.eligrey.com\/jdata\/jil\/0.0.4\/\">JIL 0.0.4<\/a>:<\/p>\n<ul>\n<li>JIL is now a function with properties, not just an object. Usage: JIL([prop [, arg1 [, ect]]]); The JIL function either returns itself or a property specified in the first argument if there is only one argument and it is not a method.\n<ul>\n<li><code>JIL(\"get\", \"OpenID\", console.log)<\/code> is the same as <code>JIL.get(\"OpenID\", console.log)<\/code> and returns JIL<\/li>\n<li><code>JIL(\"trust\")<\/code> will run <code>JIL.trust()<\/code> and returns JIL<\/li>\n<li><code>JIL(\"origin\")<\/code> will return <code>JIL.origin<\/code><\/li>\n<li><code>JIL(\"undefined property that doesn't exit\")<\/code> returns <code>JIL<\/code><\/li>\n<\/ul>\n<\/li>\n<li>JIL method calls are now chainable<\/li>\n<li>No longer removes listeners if they are not already set<\/li>\n<li>Added JIL.requestCallbacks.reset([key])<\/li>\n<li>Replaced all single quotes with double quotes because I felt like it<\/li>\n<li>JIL.loadFrame([readyCallback]) now passes readyCallback the JIL function<\/li>\n<li>Added JIL.changeHost([origin [, path[, callback]]]) for easy host changing<\/li>\n<li>JIL.query now only adds a callback if it is a function<\/li>\n<li>JIL.handleMessage renamed to JIL.handleResponse<\/li>\n<li>Grouped the fields first then the methods in the initialization for orginization<\/li>\n<li>JIL.generateID removed and an anonymous ran-once function named safeRandID with collision prevention was placed inside JIL.query<\/li>\n<li>JIL.frame.contentWindow.postMessage&#8217;s second argument is now always JIL.origin instead of &#8220;*&#8221;<\/li>\n<\/ul>\n<p>You can download JIL 0.0.4 from <a href=\"http:\/\/code.eligrey.com\/jdata\/jil\/0.0.4\/\">code.eligrey.com\/jdata\/jil\/0.0.4\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>At this time I would be introducing Noteboard 2.1 but since the source files to that are on my corrupted hard drive, I began working on a updated version of JIL. One new great feature is chainable method calls. Changelog for JIL 0.0.4: JIL is now a function with properties, not just an object. Usage: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[91,94,97],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-javascript-libraries","tag-jdata","tag-jil"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pfpUD-4X","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":0,"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"wp:attachment":[{"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eligrey.com\/blog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}