Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

auto commit

  • Loading branch information...
commit d4912510db7918af8912bbec49c90af1967d77ea 1 parent 8600f53
@dannegm authored
Showing with 5 additions and 9 deletions.
  1. +4 −8 autogit.sh
  2. +1 −1  js/script.js
View
12 autogit.sh
@@ -1,12 +1,8 @@
#!/bin/bash
echo Agregando archivos
git add *
-if test $# -lt 1; then
- echo Agregando commit "auto"
- git commit -m "auto commit"
-else
- echo Agregando commit $1
- git commit -m $1
-fi
+echo Agregando commit "auto"
+git commit -m "auto commit"
echo Subiendo archivos
-git push origin master
+git push origin master
+git push org master
View
2  js/script.js
@@ -464,7 +464,7 @@
if (value.nombre == tu.nombre){
eresTu = 'id="tu"';
}
- $('#online').append('<li rel="user_' + value.nombre + '" ' + eresTu + '><img src="' + value.foto + '" /><span class="name">' + value.nombre + '</span><span class="actionUser"></span></li>');
+ $('#online').append('<li rel="' + nameToID(value.nombre) + '" ' + eresTu + '><img src="' + value.foto + '" /><span class="name">' + value.nombre + '</span><span class="actionUser"></span></li>');
});
var nOnline = $('#online li').length;
$('#nOnline').html(nOnline);
Please sign in to comment.
Something went wrong with that request. Please try again.