|
|
@@ -2,7 +2,7 @@ app.controller('uploadCtrl', function ($scope, $http,video,notify) {
|
|
|
$scope.profesor="";
|
|
|
$scope.texto1="";
|
|
|
$scope.texto2="";
|
|
|
- $scope.video = video;
|
|
|
+ $scope.video = video;
|
|
|
$scope.diapos = [];
|
|
|
$scope.profesores = [];
|
|
|
|
|
|
@@ -30,6 +30,7 @@ app.controller('uploadCtrl', function ($scope, $http,video,notify) {
|
|
|
function(data){
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
function respondCanvas(){
|
|
|
canvas.setAttribute('width', container.offsetWidth);
|
|
|
canvas.setAttribute('height', container.offsetWidth/4*3);
|
|
|
@@ -41,9 +42,8 @@ app.controller('uploadCtrl', function ($scope, $http,video,notify) {
|
|
|
if (!String.prototype.format) {
|
|
|
String.prototype.format = function() {
|
|
|
var args = arguments;
|
|
|
- return this.replace(/{(\d+)}/g, function(match, number) {
|
|
|
- return
|
|
|
- ( typeof args[number] != 'undefined' ? args[number] : match );
|
|
|
+ return this.replace(/{(\d+)}/g, function(match, number) {
|
|
|
+ return ( typeof args[number] != 'undefined' ? args[number] : match );
|
|
|
});
|
|
|
};
|
|
|
}
|