mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-22 05:43:07 +00:00
Migrate from angularJS 1.1 to 1.3
This commit is contained in:
+3
-3
@@ -34,8 +34,8 @@ function arrayUnique(arr) {
|
||||
return unq;
|
||||
}
|
||||
|
||||
app.controller('OcSmsController', /*['$scope',*/
|
||||
function ($timeout, $scope) {
|
||||
app.controller('OcSmsController', ['$scope', '$timeout',
|
||||
function ($scope, $timeout) {
|
||||
$scope.buttons = [
|
||||
{text: "Send"}
|
||||
];
|
||||
@@ -104,7 +104,7 @@ app.controller('OcSmsController', /*['$scope',*/
|
||||
setInterval(checkNewMessages, 10000);
|
||||
});
|
||||
}
|
||||
);
|
||||
]);
|
||||
|
||||
$.urlParam = function(name){
|
||||
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
|
||||
|
||||
Reference in New Issue
Block a user