<commit_before>﻿[<ReflectedDefinition>]
module Program

open FunJS
open FunJS.TypeScript

<<<<<<< HEAD
// See https://github.com/borisyankov/DefinitelyTyped for more
type j = FunJS.TypeScript.Api< @"..\..\Typings\jquery.d.ts" >
type lib = FunJS.TypeScript.Api< @"..\..\Typings\lib.d.ts" >

type goo = FunJS.TypeScript.Api< @"..\..\Typings\google.maps.d.ts" >

// Selector operator
let (!) (str:string) = j.jQuery.Invoke' str

type AjaxSettings(onSuccess) =
   // TODO: this does not work:
   //    inherit j.JQueryAjaxSettings'(async = true, context = null)
   // so we have to manually set the fields.
   // Need to implement parasitic inheritance in FunJS.
   inherit j.JQueryAjaxSettings'() 
   override __.success (data,_,_) = onSuccess data

type Tweet =
 { from_user: string
   text: string }

type TwitterSearch =
 { results: Tweet[] }

let mutable map = Unchecked.defaultof<goo.google.maps.Map>
let markers = ref List.empty

let showTweets (map:goo.google.maps.Map) (search:TwitterSearch) =
   let tweetList =<commit_msg>Remove merge error<commit_after>﻿[<ReflectedDefinition>]
module Program

open FunJS
open FunJS.TypeScript


// See https://github.com/borisyankov/DefinitelyTyped for more
type j = FunJS.TypeScript.Api< @"..\..\Typings\jquery.d.ts" >
type lib = FunJS.TypeScript.Api< @"..\..\Typings\lib.d.ts" >

type goo = FunJS.TypeScript.Api< @"..\..\Typings\google.maps.d.ts" >

// Selector operator
let (!) (str:string) = j.jQuery.Invoke' str

type AjaxSettings(onSuccess) =
   // TODO: this does not work:
   //    inherit j.JQueryAjaxSettings'(async = true, context = null)
   // so we have to manually set the fields.
   // Need to implement parasitic inheritance in FunJS.
   inherit j.JQueryAjaxSettings'() 
   override __.success (data,_,_) = onSuccess data

type Tweet =
 { from_user: string
   text: string }

type TwitterSearch =
 { results: Tweet[] }

let mutable map = Unchecked.defaultof<goo.google.maps.Map>
let markers = ref List.empty

let showTweets (map:goo.google.maps.Map) (search:TwitterSearch) =
   let tweetList =
{'fraction_non_alphanumeric': 0.14383227693807898, 'fraction_numerical': 0.0, 'mean_word_length': 3.600896860986547, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '2755398', 'n_tokens_mistral': 722, 'n_tokens_neox': 682, 'n_words': 177}