Merge branch 'master' of github.com:mikejholly/node-po

This commit is contained in:
Mike Holly 2012-01-01 17:02:32 -08:00
commit 30a0f12f9d
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,14 @@
Used to load and save PO files.
var po = require('po');
var po = require('po')
, fs = require('fs')
po.load('text.po', function(_po){
console.log(_po.headers);
console.log(_po.items);
_po.save('copy.po', function(){
console.log('We copied a PO file for no reason!');
});
});

View File

@ -1,7 +1,6 @@
var po = require('../lib/po.js')
, fs = require('fs')
, assert = require('assert')
, exec = require('child_process').exec;
po.load('text.po', function(_po){
_po.save('copy.po', function(){