Skip to content

Commit

Permalink
bumped copyright years, removed beta status and release version 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dperini committed Jan 9, 2012
1 parent 90f3e9b commit 4909033
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2007-2011 Diego Perini (http://www.iport.it)
Copyright (c) 2007-2012 Diego Perini (http://www.iport.it)

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion build/HEADER
@@ -1,5 +1,5 @@
/*!
* NWMatcher 1.2.5 - Fast CSS3 Selector Engine
* Copyright (C) 2007-2011 Diego Perini
* Copyright (C) 2007-2012 Diego Perini
* See http://nwbox.com/license
*/
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nwmatcher",
"version": "1.2.5beta",
"version": "1.2.5",
"description": "A CSS3-compliant JavaScript selector engine.",
"homepage": "http://javascript.nwbox.com/NWMatcher/",
"main": "./src/nwmatcher",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/nwmatcher-cache.js
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2007-2011 Diego Perini & NWBOX
* Copyright (C) 2007-2012 Diego Perini
* All rights reserved.
*
* Caching/memoization module for NWMatcher
Expand Down
2 changes: 1 addition & 1 deletion src/modules/nwmatcher-pseudos.js
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2007-2011 Diego Perini & NWBOX
* Copyright (C) 2007-2012 Diego Perini
* All rights reserved.
*
* CSS3 pseudo-classes extension for NWMatcher
Expand Down
10 changes: 7 additions & 3 deletions src/modules/nwmatcher-thin.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/nwmatcher-base.js
@@ -1,11 +1,11 @@
/*
* Copyright (C) 2007-2011 Diego Perini
* Copyright (C) 2007-2012 Diego Perini
* All rights reserved.
*
* nwmatcher-base.js - A fast CSS selector engine and matcher
*
* Author: Diego Perini <diego.perini at gmail com>
* Version: 1.2.5beta
* Version: 1.2.5
* Created: 20070722
* Release: 20120101
*
Expand All @@ -17,7 +17,7 @@

(function(global) {

var version = 'nwmatcher-1.2.5beta',
var version = 'nwmatcher-1.2.5',

Dom = typeof exports == 'object' ? exports :
((global.NW || (global.NW = { })) &&
Expand Down Expand Up @@ -120,7 +120,7 @@

Optimize = {
ID: RegExp('^\\*?#(' + encoding + '+)|' + skipgroup),
TAG: RegExp(/*REM*/'^(' + encoding + '+)|' + skipgroup),
TAG: RegExp('^(' + encoding + '+)|' + skipgroup),
CLASS: RegExp('^\\*?\\.(' + encoding + '+$)|' + skipgroup)
},

Expand Down Expand Up @@ -478,7 +478,7 @@
}

if (Config.CACHING && (elements = Dom.loadResults(original, from, doc, root))) {
return callback ? concatCall([ ], elements, callback) : elements;
return callback ? concatCall([ ], elements, callback) : elements;
}

selector = selector.replace(reTrimSpaces, '');
Expand Down
6 changes: 3 additions & 3 deletions src/nwmatcher.js
@@ -1,11 +1,11 @@
/*
* Copyright (C) 2007-2011 Diego Perini
* Copyright (C) 2007-2012 Diego Perini
* All rights reserved.
*
* nwmatcher.js - A fast CSS selector engine and matcher
*
* Author: Diego Perini <diego.perini at gmail com>
* Version: 1.2.5beta
* Version: 1.2.5
* Created: 20070722
* Release: 20120101
*
Expand All @@ -17,7 +17,7 @@

(function(global) {

var version = 'nwmatcher-1.2.5beta',
var version = 'nwmatcher-1.2.5',

// export the public API for CommonJS implementations,
// for headless JS engines or for standard web browsers
Expand Down
2 changes: 1 addition & 1 deletion test/css3-compat/css3-compat.js
Expand Up @@ -13,7 +13,7 @@ var CDN = 'http://ajax.googleapis.com/ajax/libs/',
engines = {
'querySelectorAll': [ 'document.querySelectorAll(s)', '' ],

'nwmatcher-1.2.5beta': [ 'NW.Dom.select(s)', '../../src/nwmatcher.js' ]
'nwmatcher-1.2.5': [ 'NW.Dom.select(s)', '../../src/nwmatcher.js' ]

// 'base2-2.0alpha1': [ 'base2.dom.querySelectorAll(c,s)', 'lib/base2+dom.js' ],
// 'prototype-1.6.1': [ '$$(s)', CDN + 'prototype/1.6.1.0/prototype.js' ],
Expand Down
10 changes: 5 additions & 5 deletions test/ender/ender.js
Expand Up @@ -95,15 +95,15 @@
var module = { exports: {} }, exports = module.exports;

/*
* Copyright (C) 2007-2011 Diego Perini
* Copyright (C) 2007-2012 Diego Perini
* All rights reserved.
*
* nwmatcher.js - A fast CSS selector engine and matcher
*
* Author: Diego Perini <diego.perini at gmail com>
* Version: 1.2.5beta
* Version: 1.2.5
* Created: 20070722
* Release: 20111222
* Release: 20120101
*
* License:
* http://javascript.nwbox.com/NWMatcher/MIT-LICENSE
Expand All @@ -113,7 +113,7 @@

(function(global) {

var version = 'nwmatcher-1.2.5beta',
var version = 'nwmatcher-1.2.5',

// export the public API for CommonJS implementations,
// for headless JS engines or for standard web browsers
Expand Down Expand Up @@ -1821,4 +1821,4 @@
}(document, ender)


}();
}();

0 comments on commit 4909033

Please sign in to comment.