Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
spun 0.9.1 for x-tag update
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Nov 14, 2013
1 parent 8786b70 commit 6ad6d82
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 66 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.9.1
5 changes: 1 addition & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "brick",
"description": "UI Web Components for Mobile Web Apps",
"version": "0.9.0",
"version": "0.9.1",
"keywords": [
"brick",
"custom",
Expand All @@ -23,13 +23,10 @@
"x-tag-slidebox": "*",
"x-tag-toggle": "*",
"x-tag-calendar": "*",
"x-tag-datepicker": "*",
"x-tag-deck": "*",
"x-tag-iconbutton": "*",
"x-tag-layout": "*",
"x-tag-slider": "*",
"x-tag-tabbar": "*",
"x-tag-togglegroup": "*",
"x-tag-tooltip": "*",
"brick-common": "*"
}
Expand Down
3 changes: 0 additions & 3 deletions build/components.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"appbar": "x-tag-appbar",
"calendar": "x-tag-calendar",
"datepicker": "x-tag-datepicker",
"deck": "x-tag-deck",
"flipbox": "x-tag-flipbox",
"iconbutton": "x-tag-iconbutton",
"layout": "x-tag-layout",
"slidebox": "x-tag-slidebox",
"slider": "x-tag-slider",
"tabbar": "x-tag-tabbar",
"toggle": "x-tag-toggle",
"togglegroup": "x-tag-togglegroup",
"tooltip": "x-tag-tooltip"
}

Expand Down
11 changes: 6 additions & 5 deletions build/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function err(s) {
return function(err) {
console.error(s);
console.error(err.toString());
}
};
}

function loadComponentList() {
Expand Down Expand Up @@ -41,7 +41,7 @@ function minify(components) {
minifiedCSS += result.css;
minifiedJS += result.js;
processComponent(n+1);
}, err('Failed to process component ' + components[n] + ': '))
}, err('Failed to process component ' + components[n] + ': '));
} else {
p.fulfill({
css: minifiedCSS,
Expand All @@ -56,7 +56,8 @@ function minify(components) {

function minifyComponent(name) {
var p = promise();

var css;
var js;
var distDir = path.join('dist', name);
console.log(distDir);

Expand All @@ -78,7 +79,7 @@ function minifyComponent(name) {
}

try {
var js = uglifyjs.minify(srcJsPath);
js = uglifyjs.minify(srcJsPath);
fs.writeFileSync(jsPath, js.code);
} catch (e) {
p.reject(e);
Expand All @@ -88,7 +89,7 @@ function minifyComponent(name) {
var cssPath = path.join(distDir, name + '.min.css');
console.log(cssPath);
try {
var css = fs.readFileSync(path.join('component', name, 'src', name + '.css')).toString();
css = fs.readFileSync(path.join('component', name, 'src', name + '.css')).toString();
css = cleancss.process(css);
fs.writeFileSync(cssPath, css);
} catch (e) {
Expand Down
48 changes: 0 additions & 48 deletions dist/brick.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/brick.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/x-tag-core.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brick",
"version": "0.9.0",
"version": "0.9.1",
"description": "UI Web Components for Mobile Web Apps",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 6ad6d82

Please sign in to comment.