Sha256: 60cb87d8d694aae420b555dbc3c231480b13cf9255e535101043904d2f5c0816
Contents?: true
Size: 1.76 KB
Versions: 4
Compression:
Stored size: 1.76 KB
Contents
#= require jquery #= require jquery_ujs #= require underscore #= require backbone #= require jquery/jquery.livequery #= require fancybox #= require wice_grid #= require jquery.ui.all #= require bootstrap #= require ../../nicedit/nicEdit #= require ./nicedit_applier #= require ../../tipsy/src/javascripts/jquery.tipsy # ./tipsy_init #= require jquery.qtip.js #= require jquery.globalmoney #= require ckeditor/init #= require jquery.ui.addresspicker #= require angular.min #= require angular-ui.min #= require gmaps #= require inputs_masks Backbone.emulateHTTP = true $ -> window.cfgCulture = 'pt-BR' $.preferCulture(cfgCulture) $(".actions [title]").livequery -> $(this).qtip content: $(this).attr("title") # Use the tooltip attribute of the element for the content #style: "dark" # Give it a crea mstyle to make it stand out style: classes: 'qtip-bootstrap' $('.zoom-image').livequery -> $(@).fancybox(); $('.currency').livequery -> $(@).maskMoney symbol: 'R$' decimal: ',' precision: 2 thousands: '' showSymbol: false $("input.datepicker").each (i) -> $(this).datepicker altFormat: "yy-mm-dd" dateFormat: "dd/mm/yy" altField: $(this).next() # window.admix = angular.module('admix', ['ui']) # .config(["$httpProvider", function(provider) { # provider.defaults.headers.common['X-CSRF-Token'] = $('meta[name=csrf-token]').attr('content'); # .controller 'FormController', ($scope) -> # console.log 'init From Controller' # $scope.method = $(AdmixForm._method).val() # $scope.authenticity_token = $(AdmixForm.authenticity_token).val() # $scope.utf8 = $(AdmixForm.utf8).val() # console.log $scope # angular.bootstrap(document, ['admix'])
Version data entries
4 entries across 4 versions & 2 rubygems