<commit_before>// 
// © 2014 Thomas Street LLC. All rights reserved
//

'use strict';

angular.module('integrationApp')
  .directive('faTap', function () {
    return {
      restrict: 'A',
      compile: function() {
        return { 
          post: function(scope, element, attrs) {
            scope.isolate = scope.isolate || {};
            scope.isolate[scope.$id] = scope.isolate[scope.$id] || {};
            var isolate = scope.isolate[scope.$id];


            if (attrs.faTap) {
              var _dragging = false;

              isolate.surface.on("touchmove", function(data) {
                _dragging = true;
                return data;
              });

              isolate.surface.on("touchend", function(data) {
                if (!_dragging) scope.$eval(attrs.faTap);
                _dragging = false
              });
            }
          }
        }<commit_msg>fix module in fa-tap<commit_after>// 
// © 2014 <NAME> LLC. All rights reserved
//

angular.module('famous.angular')
  .directive('faTap', function () {
    return {
      restrict: 'A',
      compile: function() {
        return { 
          post: function(scope, element, attrs) {
            scope.isolate = scope.isolate || {};
            scope.isolate[scope.$id] = scope.isolate[scope.$id] || {};
            var isolate = scope.isolate[scope.$id];


            if (attrs.faTap) {
              var _dragging = false;

              isolate.surface.on("touchmove", function(data) {
                _dragging = true;
                return data;
              });

              isolate.surface.on("touchend", function(data) {
                if (!_dragging) scope.$eval(attrs.faTap);
                _dragging = false
              });
            }
          }
        }
{'fraction_non_alphanumeric': 0.13608130999435347, 'fraction_numerical': 0.004517221908526256, 'mean_word_length': 1.495774647887324, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3723280', 'n_tokens_mistral': 523, 'n_tokens_neox': 495, 'n_words': 98}