Skip to content

Commit

Permalink
(master) Supprime Likely
Browse files Browse the repository at this point in the history
  • Loading branch information
2ec0b4 committed Mar 10, 2020
1 parent 59423c0 commit 5105170
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"backbone.radio": "^1.0.5",
"handlebars": "^4.0.5",
"jquery": "^2.2.4",
"ilyabirman-likely": "^2.1.0",
"require-css": "^0.1.8",
"require-handlebars-plugin": "^1.0.0",
"requirejs": "^2.2.0",
Expand Down
5 changes: 0 additions & 5 deletions js/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ define("app", function(require) {
Marionette = require("marionette"),
Radio = require("backbone.radio"),
SoundboardController = require("controllers/soundboard"),
Likely = require("likely"),
app;

require("css!../../bower_components/ilyabirman-likely/release/likely.css");

app = Marionette.Application.extend({
initialize: function intialize() {
this.addRegions({
Expand Down Expand Up @@ -39,8 +36,6 @@ define("app", function(require) {
Backbone.history.start();
this.trigger("backbone:history:start");
}

likely.initiate();
},

changeUrl: function(slug) {
Expand Down
1 change: 0 additions & 1 deletion js/app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require.config({
handlebars: "../../bower_components/handlebars/handlebars.min",
hbs: "../../bower_components/require-handlebars-plugin/hbs",
jquery: "../../bower_components/jquery/dist/jquery.min",
likely: "../../bower_components/ilyabirman-likely/release/likely",
marionette: "../../bower_components/backbone.marionette/lib/backbone.marionette.min",
text: "../../bower_components/requirejs-text/text",
underscore: "../../bower_components/underscore/underscore-min"
Expand Down
5 changes: 0 additions & 5 deletions js/app/templates/share.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
<textarea name="share" rows="6" cols="40">#Kaamelott Soundboard - {{title}}
{{url}}</textarea>
</form>

<div class="likely" data-title="#Kaamelott Soundboard - {{title}}" data-url="{{url}}">
<div class="facebook">Partager</div>
<div class="twitter" data-via="2ec0b4">Tweet</div>
</div>
</div>
4 changes: 0 additions & 4 deletions js/app/views/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ define("views/share", function(require) {
ShareTemplate = require("hbs!templates/share"),
ShareView;

require("likely");

ShareView = Marionette.LayoutView.extend({
template: ShareTemplate,
templateHelpers: function () {
Expand Down Expand Up @@ -39,8 +37,6 @@ define("views/share", function(require) {
onShow: function() {
var that = this;

likely.initiate();

this.center();

window.setTimeout(function() {
Expand Down

0 comments on commit 5105170

Please sign in to comment.