{"id":19388976,"url":"https://github.com/james2doyle/jquery-plugin-snippets","last_synced_at":"2026-02-28T22:02:55.335Z","repository":{"id":7715656,"uuid":"9081082","full_name":"james2doyle/jquery-plugin-snippets","owner":"james2doyle","description":"A bunch of jQuery plugin snippets for Sublime Text 2 via shichuan/javascript-patterns/jquery-plugin-patterns","archived":false,"fork":false,"pushed_at":"2013-03-28T16:58:59.000Z","size":119,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T20:03:43.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/james2doyle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-28T16:20:22.000Z","updated_at":"2016-07-26T08:22:35.000Z","dependencies_parsed_at":"2022-09-13T02:02:42.979Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/jquery-plugin-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/james2doyle/jquery-plugin-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fjquery-plugin-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fjquery-plugin-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fjquery-plugin-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fjquery-plugin-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/jquery-plugin-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fjquery-plugin-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29953212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T10:14:15.223Z","updated_at":"2026-02-28T22:02:50.308Z","avatar_url":"https://github.com/james2doyle.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"jquery-plugin-snippets\n======================\n\nA bunch of jQuery plugin snippets for Sublime Text 2 via [shichuan/javascript-patterns/jquery-plugin-patterns](https://github.com/shichuan/javascript-patterns/tree/master/jquery-plugin-patterns)\n\nClone this repo into the Packages directory of Sublime Text.\n\nBreakdown\n---------\n\n* *Basic* - the most basic pattern\n* *Extend* - enables you to define multiple functions at once and which sometimes make more sense semantically\n* *Lightweight* - perfect as a generic template for beginners and above\n* *Namespaced pattern* - to avoid collisions and improve code organization when working with components under another namespace\n* *Prototypal inheritance* - prototypal inheritance with the DOM-to-Object bridge pattern\n* *Best options* - globally/Per-call overridable options for greater option customization\n* *Custom events (Pseudo Pub/Sub)* - for better application decoupling\n* *'Highly configurable' mutable* - define plugin’s logic using a constructor and an object literal defined on its prototype\n* *UI Widget factory* - for building complex, stateful plugins based on object-oriented principles\n* *UI Widget factory \"bridge\"* - the bridge serves as a middle layer between a JavaScript object that is created using $.widget and jQuery’s API\n* *UI Widget factory for jQuery mobile* - demonstrating best practices for building mobile widgets\n* *UI Widget + RequireJS module* - for wrapping jQueryUI widgets inside RequireJS compatible modules\n* *Universal* Module Definition pattern - create AMD and CommonJS compatible plugin modules which are compatible with a number of different script loaders\n\nReferences\n----------\n\n[shichuan/javascript-patterns](https://github.com/shichuan/javascript-patterns/)\n\n*shichuan references*\n\n[The Essentials of Writing High Quality JavaScript](http://net.tutsplus.com/tutorials/javascript-ajax/the-essentials-of-writing-high-quality-javascript/)\n\n[JSPatterns](http://www.jspatterns.com/)\n\n[jQuery Anti-Patterns for Performance \u0026 Compression](http://paulirish.com/2009/perf/)\n\n[How DRY Affects JavaScript Performance](http://velocityconf.com/velocityeu/public/schedule/detail/21634)\n\n[Object Oriented JavaScript](http://www.packtpub.com/object-oriented-javascript/book)\n\n[JavaScript Patterns](http://shop.oreilly.com/product/9780596806767.do)\n\n[JavaScript: The Good Parts](http://shop.oreilly.com/product/9780596517748.do)\n\n[Pro JavaScript Design Patterns](http://jsdesignpatterns.com/)\n\n[Essential JavaScript Design Patterns For Beginners, Volume 1.](http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/)\n\n[Eloquent JavaScript](http://eloquentjavascript.net/)\n\nLicense\n-------\n\nAccording to [the site](http://shichuan.github.com/javascript-patterns/): \"100% Free \u0026 taken from somewhere else\"\n\n[Source Files](https://github.com/shichuan/javascript-patterns/tree/master/jquery-plugin-patterns)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fjquery-plugin-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Fjquery-plugin-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fjquery-plugin-snippets/lists"}