Merge branch 'common-convert' of github.com:HabitRPG/habitrpg into common-convert

This commit is contained in:
Blade Barringer 2015-02-03 19:29:54 -06:00
commit 450fdb1486
329 changed files with 49 additions and 41390 deletions

View file

@ -1,5 +1,5 @@
{
"directory": "common/public/bower_components",
"directory": "website/public/bower_components",
"storage" : {
"packages" : ".bower-cache",
"registry" : ".bower-registry"

11
.gitignore vendored
View file

@ -1,14 +1,15 @@
.DS_Store
common/public/gen
website/public/gen
website/public/common
node_modules
*.swp
.idea*
config.json
npm-debug.log
lib
common/public/bower_components
common/public/sprites
build
website/public/bower_components
common/dist
website/build
newrelic_agent.log
.bower-tmp
.bower-registry
@ -20,6 +21,6 @@ src/*/*.map
src/*/*/*.map
test/*.js
test/*.map
common/public/docs
website/public/docs
*.sublime-workspace
coverage.html

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

View file

@ -22,20 +22,20 @@ var gulp = require('gulp'),
var paths = {
stylus: {
src: {
app: './common/public/css/index.styl',
staticPage: './common/public/css/static.styl' // static is a 'future' reserved word
app: './website/public/css/index.styl',
staticPage: './website/public/css/static.styl' // static is a 'future' reserved word
},
dest: './build/'
dest: './website/build/'
},
common: {
src: ['./common/index.js'],
dest: './common/public/'
dest: './common/dist/scripts/'
},
sprites: {
src: 'img/sprites/spritesmith/**/*.png',
dest: './common/public/sprites/',
cssminSrc: './common/public/sprites/*.css',
cssminDest: './common/public/sprites/'
src: './common/img/sprites/spritesmith/**/*.png',
dest: './common/dist/sprites/',
cssminSrc: './common/dist/sprites/spritesmith*.css',
cssminDest: './common/dist/sprites/'
},
copy: {
src: ['./common/img/sprites/backer-only/*.gif',
@ -95,9 +95,8 @@ gulp.task('sprite', function(cb) {
var sprite = {};
_.times(COUNT, function(i){
sliced = images.slice(i * (images.length/COUNT), (i+1) * images.length/COUNT)
sprite[''+i] = {
src: sliced,
slice: images.slice(i * (images.length/COUNT), (i+1) * images.length/COUNT),
imgName: 'spritesmith'+i+'.png',
cssName: 'spritesmith'+i+'.css',
engine: 'phantomjssmith',
@ -131,7 +130,7 @@ gulp.task('sprite', function(cb) {
_.forIn(sprite, function(value, key){
console.log("Starting spritesmith" + key + ".png");
var spriteData = gulp.src(sliced).pipe(spritesmith(sprite[key]));
var spriteData = gulp.src(sprite[key].slice).pipe(spritesmith(sprite[key]));
spriteData.img
//.pipe(imagemin())
@ -145,10 +144,9 @@ gulp.task('sprite', function(cb) {
STEP++;
console.log("Finished spritesmith" + key + ".png");
if(STEP >= COUNT) {
gulp.src(paths.sprites.cssminSrc)
.pipe(concat('habitrpg-shared.css'))
.pipe(cssmin())
.pipe(rename('habitrpg-shared.css'))
.pipe(gulp.dest(paths.sprites.cssminDest))
.on('end', function(){cb()});
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Some files were not shown because too many files have changed in this diff Show more