Skip to content

Instantly share code, notes, and snippets.

View rdworth's full-sized avatar

Richard D. Worth rdworth

View GitHub Profile
@rdworth
rdworth / gist:1444036
Created December 7, 2011 18:41
Spec for new jQuery Plugins site package.json

Specification of the jQuery Plugins Site package.json

LIVING SPEC (heavily inspired by that of npm. Thanks isaacs)

This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just a JavaScript object literal.

Fields

➜ 1.8pre git:(1.8pre) grunt
Running "selector:src/selector.js" (selector) task
<WARN> Unable to read "src/sizzle/sizzle.js" file (Error code: ENOENT). Use --force to continue. </WARN>
Aborted due to warnings.
# This error is caused by not having submodules pulled. Can be worked around by manually pulling submodules:
> git submodule update --init
# Next error is Windows only
grunt.registerTask( "default", "build" );
grunt.registerTask( "build", "lint xmllint xsltproc" );
grunt.registerTask( "deploy", "wordpress-deploy" );
Published post ajaxComplet.
Published post addClas.
Published post ajaxSen.
>> Error publishing post afte.
>> Error: XML-RPC fault: parse error. not well formed
<WARN> Task "wordpress-publish" failed. Use --force to continue. </WARN>
{ name: '',
label: 'Categories',
public: true,
showUi: true,
labels:
{ name: 'Categories',
singularName: 'Category',
searchItems: 'Search Categories',
popularItems: '',
allItems: 'All Categories',
{
"category": [
{
"name": "Uncategorized",
"slug": "Uncategorized"
},
{
"name": "Core",
"slug": "core"
},
<?php
/*
Plugin Name: Better Category Description
Plugin URI: http://www.learningjquery.com/
Description: Allows full HTML in Category Descriptions.
Author: Karl Swedberg
Author URI: http://www.learningjquery.com/
Version: 1.0
Copyright (c) 2010 Karl Swedberg (http://www.learningjquery.com)
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="GST6YFQDVQPL2">
<table>
<tr><td><input type="hidden" name="on0" value="2012 Annual gift: jQuery t-shirt">2012 Annual gift: jQuery t-shirt</td></tr><tr><td><select name="os0">
<option value="Mens Sm">Mens Sm</option>
<option value="Mens Med">Mens Med</option>
<option value="Mens Lrg">Mens Lrg</option>
<option value="Mens XL">Mens XL</option>
<option value="Mens 2XL">Mens 2XL</option>
Running "setup-pluginsdb" task
<WARN> Task "setup-pluginsdb" failed. Use --force to continue. </WARN>
Aborted due to warnings.