<commit_before>var opentokMeet = angular.module('opentok-meet', ['opentok', 'ngRoute']);

// Handle custom URLs
function handleOpenURL(url) {
  // Go to /:room and let the route provider handle it
  window.location.hash = '#/' + url.substring('otmeet://'.length);
}

var OT = {
    $:{},
    onLoad: function (fn) {
        document.addEventListener('deviceReady', fn);
    }
};
OT.$ = window.OTHelpers;

function HomeCtrl($scope, $location) {
    $scope.joinRoom = function () {
        $location.path('/' + $scope.room);
    };
}


opentokMeet.config(['$routeProvider', function($routeProvider) {
      $routeProvider.
          when('/', {templateUrl: 'home.html', controller: HomeCtrl}).
          when('/:room', {templateUrl: 'room.html',   controller: RoomCtrl}).
          otherwise({redirectTo: '/'});<commit_msg>Working with the latest Cordova Plugin<commit_after>var opentokMeet = angular.module('opentok-meet', ['opentok', 'ngRoute']);

// Handle custom URLs
function handleOpenURL(url) {
  // Go to /:room and let the route provider handle it
  window.location.hash = '#/' + url.substring('otmeet://'.length);
}

if (!OT) {
  var OT = {};
}
OT.onLoad = function (fn) {
  document.addEventListener('deviceReady', fn);
};
OT.$ = window.OTHelpers;

function HomeCtrl($scope, $location) {
    $scope.joinRoom = function () {
        $location.path('/' + $scope.room);
    };
}


opentokMeet.config(['$routeProvider', function($routeProvider) {
      $routeProvider.
          when('/', {templateUrl: 'home.html', controller: HomeCtrl}).
          when('/:room', {templateUrl: 'room.html',   controller: RoomCtrl}).
          otherwise({redirectTo: '/'});
{'fraction_non_alphanumeric': 0.18411552346570398, 'fraction_numerical': 0.0, 'mean_word_length': 3.4945945945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6182127', 'n_tokens_mistral': 525, 'n_tokens_neox': 509, 'n_words': 111}