<commit_before>library timecard;

import "package:angular/angular.dart";
import "package:angular/application_factory.dart";
import "package:di/di.dart";
import "package:logging/logging.dart";

import "package:timecard_client/component/feedback.dart";
import "package:timecard_client/service/google_cloud_endpoints_api_service.dart";
import "package:timecard_client/timecard.dart";

// Temporary, please follow https://github.com/angular/angular.dart/issues/476
@MirrorsUsed(
  targets: const ["timecard", "timecard_dev_api"],
  override: "*")
import "dart:mirrors";

class MyAppModule extends Module {
  MyAppModule() {
    install(new GoogleCloudEndpointModule());
    value(GoogleCloudEndpointServiceConfig, new GoogleCloudEndpointServiceConfig()
      ..client_id = "636938638718.apps.googleusercontent.com"
      ..root_url = "http://localhost:8081/");
    value(FeedbackFormConfig, new FeedbackFormConfig()
      ..formkey = "<KEY>");

    install(new TimecardModule());
  }
}

void main() {
  Logger.root.level = Level.FINEST;
  Logger.root.onRecord.listen((LogRecord r) { print(r.message); });
  applicationFactory()
    .addModule(new MyAppModule())
    .run();
}<commit_msg>update root_url for iOS app<commit_after>library timecard;

import "package:angular/angular.dart";
import "package:angular/application_factory.dart";
import "package:di/di.dart";
import "package:logging/logging.dart";

import "package:timecard_client/component/feedback.dart";
import "package:timecard_client/service/google_cloud_endpoints_api_service.dart";
import "package:timecard_client/timecard.dart";

// Temporary, please follow https://github.com/angular/angular.dart/issues/476
@MirrorsUsed(
  targets: const ["timecard", "timecard_dev_api"],
  override: "*")
import "dart:mirrors";

class MyAppModule extends Module {
  MyAppModule() {
    install(new GoogleCloudEndpointModule());
    value(GoogleCloudEndpointServiceConfig, new GoogleCloudEndpointServiceConfig()
      ..client_id = "636938638718.apps.googleusercontent.com"
      ..root_url = "https://timecard-gae.appspot.com/");
    value(FeedbackFormConfig, new FeedbackFormConfig()
      ..formkey = "<KEY>");

    install(new TimecardModule());
  }
}

void main() {
  Logger.root.level = Level.FINEST;
  Logger.root.onRecord.listen((LogRecord r) { print(r.message); });
  applicationFactory()
    .addModule(new MyAppModule())
    .run();
}
{'fraction_non_alphanumeric': 0.14052697616060225, 'fraction_numerical': 0.014219991635299039, 'mean_word_length': 5.43010752688172, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, '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': '2586656', 'n_tokens_mistral': 781, 'n_tokens_neox': 752, 'n_words': 124}